-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Custom scalars #1
Comments
It wasn't immediately required so I haven't added it yet. It should be pretty easy to add, what kind of custom scalars were you looking to define? |
We have custom scalars for the postgres json type and a few other special map and string types that we are using in our application. |
see the new example |
vvakame
pushed a commit
that referenced
this issue
Nov 25, 2019
modelgen hook docs use plugin poitner
StevenACoffman
pushed a commit
that referenced
this issue
Feb 23, 2024
…quires use cases (#2884) * Adding generation of new functions to populate requires representations. WIP. * Something. * Adding config option for Package to allow for enabling flags. Added flag to render explicit requires function. * Adding fixed by @ldebruijn. * Adding explicit requires testsing and make requires follow federation package. * Fix test failure. * Using embeded template like federation gotpl. Fix rewriter not using correct dir. * Update generated code. * Docs (#1) * Adding initial docs for explicit requires * Add example docs for explicit requires * Adding ordering fix. * Regenerate. --------- Co-authored-by: Jesse Lovelace <jesse.lovelace@gmail.com> Co-authored-by: Brandon Him <brandonhim@live.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am trying to figure out how to use custom scalars with this library, I added it to types.json and I'm still getting a "panic: unknown scalar". Looking at the code it wasn't immediately apparent how to do this.
Thanks!
The text was updated successfully, but these errors were encountered: