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
- changes commentTypeNotIn
field to a listOf String instead of String
#2325
base: v2.0/develop
Are you sure you want to change the base?
- changes commentTypeNotIn
field to a listOf String instead of String
#2325
Conversation
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. If you believe this issue is still valid, please open a new issue and mark this as a related issue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. If you believe this issue is still valid, please open a new issue and mark this as a related issue. |
What does this implement/fix? Explain your changes.
This changes the
commentTypeNotIn
field on Comment connections to be alist_of => string
type instead of astring
type.Does this close any currently open issues?
closes #2321
Any other comments?
This is a breaking change, as queries that were written like so:
would need to be changed like so:
Breaking Change
This includes a minor breaking change to the Schema, as seen here: https://github.com/wp-graphql/wp-graphql/runs/5823051931?check_suite_focus=true
Should you need to keep backward compatibility with the previous shape of the
commentTypeNotIn
field, this snippet will change the field back to a string instead of alistOf( string )