-
Notifications
You must be signed in to change notification settings - Fork 468
Inputs that expect an ID, should all be of the ID Type and should accept the Integer or Relay ID #109
Copy link
Copy link
Closed
Labels
compat: breaking changeThis is a breaking change to existing functionalityThis is a breaking change to existing functionalityhelp wantedIssue with a clear description that the community can help withIssue with a clear description that the community can help withneeds: infoMore information is needed to resolve this issueMore information is needed to resolve this issuetype: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior
Description
In various Input args, we're currently setup to accept the WordPress ID as the input, but we should be accepting Global Relay IDs.
For example, the where args for the posts query has an input of authorIn which accepts a list of Ints. . .this should accept a list of IDs and should parse out the WP ID from the Global ID.
Same goes for basically all inputs where the expected input is an ID
More examples, but not necessarily a comprehensive list
authorIn
authorNotIn
categoryAnd
categoryIn
in
notIn
parentIn
parentNotIn
tagAnd
tagIn
tagNotIn
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
compat: breaking changeThis is a breaking change to existing functionalityThis is a breaking change to existing functionalityhelp wantedIssue with a clear description that the community can help withIssue with a clear description that the community can help withneeds: infoMore information is needed to resolve this issueMore information is needed to resolve this issuetype: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior