-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
feat: Added the ability to pass a StringFormat type resolver, so that… #1384
base: master
Are you sure you want to change the base?
feat: Added the ability to pass a StringFormat type resolver, so that… #1384
Conversation
… it is possible to pass custom Scalar types to represent different format values.
Hello thanks for the contribution. What do you think about doing the same thing as we already do for mocks maybe? |
…ing resolver function in config
Sorry I had a look at mocks and not entirely sure what you mean here? Would you be able to elaborate? Happy to update if you could add some guidance on a better approach. |
Looks like you have a merge conflict |
what do you think as doing like for the mock have an property in the config format?: Record<string, unknown>; and when it match a hint just replace the type with that one |
Would love to help out where I can here since I need this same change soon. Any good place for me to start? |
Status
WIP
Description
Implement a type resolver for strings that also have a format hint
Fix #1383
Todos
Steps to Test or Reproduce
Need to write tests