Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce the defaultInterfaceSuffix setting #376

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

cmaster11
Copy link
Collaborator

If defined, when a schema name ends with "schema", replaces the ending in the generated type by default with this string.

E.g. when this setting is "Interface", a TestSchema object generates a TestInterface type.

@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (6011c9e) 98.68% compared to head (028ea7a) 98.69%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #376   +/-   ##
=======================================
  Coverage   98.68%   98.69%           
=======================================
  Files           9        9           
  Lines         532      535    +3     
  Branches      205      206    +1     
=======================================
+ Hits          525      528    +3     
  Misses          7        7           
Files Coverage Δ
src/joiUtils.ts 100.00% <100.00%> (ø)
src/types.ts 100.00% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cmaster11 cmaster11 force-pushed the default-interface-suffix branch from 562b4f0 to 028ea7a Compare October 18, 2023 07:41
@mrjono1
Copy link
Owner

mrjono1 commented Oct 18, 2023

Looks good

@mrjono1 mrjono1 merged commit 5f0ec59 into mrjono1:master Oct 18, 2023
@mrjono1
Copy link
Owner

mrjono1 commented Oct 18, 2023

@cmaster11 cmaster11 deleted the default-interface-suffix branch October 19, 2023 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants