Skip to content
New issue

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

Fix GraphQL dynamic field conflicts #8669

Merged
merged 1 commit into from
Feb 26, 2021
Merged

Fix GraphQL dynamic field conflicts #8669

merged 1 commit into from
Feb 26, 2021

Conversation

deanmarcussen
Copy link
Member

Fixes #5536

Caught me again today, so time to have a crack at it.

@carlwoodhouse not especially my area, but best I can tell it fixes it.

Can now add dynamic fields, to anything that has been preregistered by another builder.

Copy link
Member

@carlwoodhouse carlwoodhouse left a comment

Choose a reason for hiding this comment

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

LGTM - might be an idea to supplement with some tests though

@Skrypt
Copy link
Contributor

Skrypt commented Feb 25, 2021

I don't think unit tests are worth it if we move to Hot Chocolate later on.

@carlwoodhouse
Copy link
Member

Maybe not ... but you’d still want to test that scenario; regardless of the implementation

@carlwoodhouse
Copy link
Member

I’m happy for it to go as it is btw; as in the current state it’s broken anyway !

@Skrypt
Copy link
Contributor

Skrypt commented Feb 25, 2021

I agree that it needs unit test but let's merge it and create an issue to create a unit test.
#8670

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

Successfully merging this pull request may close these issues.

Edit Content Part, Add New Field, Kills GraphQL
4 participants