Skip to content

Conversation

tobias-tengler
Copy link
Member

  • Adds sourceOperationPlanNodeId to GraphQL errors
  • Adds value for dynamic schemaName to operation plan

TODO: I don't like the extra work we have to do for this...

var bufferLength = Math.Max(variables.Length, 1);
var buffer = ArrayPool<SourceSchemaResult>.Shared.Rent(bufferLength);
var resultBuffer = ArrayPool<SourceSchemaResult>.Shared.Rent(bufferLength);
var errorBuffer = ArrayPool<SourceSchemaErrors?>.Shared.Rent(bufferLength);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional renting just to set the extension, since I didn't want to bleed the execution nodes into the source schema result parsing... have to revisit...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant