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
I then kept refreshing the schema definition in Banana Cake Pop and I would see my directive at the top, but not decorating any locations I tried to set it at.
It took me forever to figure out why it wasn't working, until I realized that it DOES work if I ignore Banana Cake Pop and do what the tutorial said and call:
executor.Schema.ToString()
Only when I call Schema.ToString() do I get a write out indicating my directives are adorning objects or field definitions, such as
type TestObject @my(test: "11") { testProperty: Decimal! @my(test: "1") }
That's great, but I can't get it to write that out in Banana Cake Pop's Schema Definition or, more importantly, to a .graphql file via graphql-code-generator
I figure it has to be something I'm not doing or doing wrong during the IRequestExecutorBuilder setup. Can anyone provide some insight?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I followed this tutorial: https://www.youtube.com/watch?v=egyO7rZOoMI&ab_channel=ChilliCream
I then kept refreshing the schema definition in Banana Cake Pop and I would see my directive at the top, but not decorating any locations I tried to set it at.
It took me forever to figure out why it wasn't working, until I realized that it DOES work if I ignore Banana Cake Pop and do what the tutorial said and call:
executor.Schema.ToString()
Only when I call Schema.ToString() do I get a write out indicating my directives are adorning objects or field definitions, such as
type TestObject @my(test: "11") {
testProperty: Decimal! @my(test: "1")
}
That's great, but I can't get it to write that out in Banana Cake Pop's Schema Definition or, more importantly, to a .graphql file via graphql-code-generator
I figure it has to be something I'm not doing or doing wrong during the IRequestExecutorBuilder setup. Can anyone provide some insight?
Beta Was this translation helpful? Give feedback.
All reactions