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
See https://discord.com/channels/489127045289476126/498852330754801666/1138749365096304660
Yeah, I guess I need to add something like https://postgraphile.org/postgraphile/next/make-extend-schema-plugin#mutation-example-with-node-id to https://postgraphile.org/postgraphile/next/node-id to help people find it.
This also depends on graphile/crystal#2013 really.
The text was updated successfully, but these errors were encountered:
Specifically, it's
const handler = build.getNodeIdHandler("Chain");
and
const spec = specFromNodeId(handler, $nodeId); const $id = spec.id;
Or something like that, depending on the shape of your table. E.g. if you have a composite primary key (organization_id, issue_id) then it might be:
(organization_id, issue_id)
const { organization_id: $organizationId, issue_id: $issueId, } = specFromNodeId(handler, $nodeId);
Also note that if the NodeID is incompatible with this type then these values will be null (I think?)
Sorry, something went wrong.
No branches or pull requests
See https://discord.com/channels/489127045289476126/498852330754801666/1138749365096304660
This also depends on graphile/crystal#2013 really.
The text was updated successfully, but these errors were encountered: