You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would like to provide custom mappings for other types that are not scalar where code generation would be skipped but my class would still be referenced
Example :
Schema :
typeBook {
title: String
author : Author
}
typeAuthor {
name: String
book : Book
}
I considered #1297 although I believe that this will only exclude the generation but it won't import my custom class
The text was updated successfully, but these errors were encountered:
yeikel
changed the title
customTypesMapping beyond scalars
Add option to configure customTypesMapping beyond scalars to configure custom mappings for types
Aug 16, 2023
Interestingly enough, I just realized that for this basic example, the generated code is referring to org.example.Author as intended, but it is still generating the Author class regardless even when that's not desired
If this is the intended behavior maybe #1297 will help?
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem? Please describe.
I would like to provide custom mappings for other types that are not scalar where code generation would be skipped but my class would still be referenced
Example :
Schema :
Describe the solution you'd like
Build configuration :
Generated Class :
It should generate the
Book
class and useorg.example.Author
as is when it gets to the generation of the Author classProvided
Author
class created externally :Describe alternatives you've considered
I considered #1297 although I believe that this will only exclude the generation but it won't import my custom class
The text was updated successfully, but these errors were encountered: