Some questions #215
Replies: 1 comment 1 reply
-
So this code is part of the query_dsl, which gets output by the Each composite field in the schema will end up with one of those
So this one is specifically for querying interfaces & union types. You're maybe aware that if you've got an interface or a union type in GraphQL then you need to use inline fragments to select fields from concrete types, like this: some_interface_field {
... on SomeType {
aField
}
... on SomeOtherType {
aDifferentField
}
} We support this sort of thing in cynic with this
That
We need the
I do have this issue which is close: #180 Although not sure whether that will end up covering the codegen, it was originally just for the user facing docs. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Some of the code is unclear and wants to be explained.
I also noticed another macro generated class, which seems to want to automatically implement any framgment. What's the relationship between them
possible_ types
function, Why needI have understood the main functions and structure of the library, but it is still very difficult for the existing macros, but I have learned a lot now. Thank you very much. I will continue. @obmarg
Beta Was this translation helpful? Give feedback.
All reactions