We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
id
Hi Team,
Thank you so much for this wonderful library and maintaining it with good documentation.
I am following github mongodb-hotchocolate examples and able to spinup a graphql server and its working well serving required data with projections.
mongodb-hotchocolate
One issue that we are seeing is, it returns null value for id field on inner nodes.
Example:
{ "id": "Root123", "field1" : "value", "address": { "id": "123" "city":"Boston" } }
query T { orders { id address { id city } }
Above query is returning us below output:
{ "orders": {
"id": "Root123", "address": { "id": null ========> this id field is cocming as NULL "city":"Boston" } }
}
Is this default behavior for hotcolate-mongodb resolvers? How can we override this behavior and fix this issue?
Thank you.
The text was updated successfully, but these errors were encountered:
Fix null value for id field on inner nodes in MongoDB HotChocolate ex…
2341c76
…ample Related to ChilliCream#61 Add an `Id` field to the `Address` class in `misc/MongoDB/12.1/Person/Address.cs`. * Add a new `Id` field of type `Guid` to the `Address` class. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ChilliCream/hotchocolate-examples/issues/61?shareId=XXXX-XXXX-XXXX-XXXX).
No branches or pull requests
Hi Team,
Thank you so much for this wonderful library and maintaining it with good documentation.
I am following github
mongodb-hotchocolate
examples and able to spinup a graphql server and its working well serving required data with projections.One issue that we are seeing is, it returns null value for id field on inner nodes.
Example:
{
"id": "Root123",
"field1" : "value",
"address": {
"id": "123"
"city":"Boston"
}
}
query T {
orders {
id
address {
id
city
}
}
Above query is returning us below output:
{
"orders": {
}
Is this default behavior for hotcolate-mongodb resolvers? How can we override this behavior and fix this issue?
Thank you.
The text was updated successfully, but these errors were encountered: