Documentation improvement: schemaRegistry parameter when writing DgsTypeDefinitionRegistry #1719
Closed
DarthCoder117
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Thanks for opening this issue. We will fix our docs to reflect this. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just a minor documentation improvement suggestion, but it would be nice to mention on the Dyanic Schemas page that the
schemaRegistry
parameter can be used to retrieve the current schema when writing aDgsTypeDefinitionRegistry
.https://netflix.github.io/dgs/advanced/dynamic-schemas/
Currently the function is defined like this:
I spent quite a bit of time searching for a way to read what's in the existing schema, and I finally realized I should check how the Relay pagination handles things. That's where I found that the function signature can actually take a
TypeDefinitionRegistry
like this:I also noticed when searching for discussions that I'm not the only one that had been looking for the same information:
#1126
Beta Was this translation helpful? Give feedback.
All reactions