Skip to content

Inputs that expect an ID, should all be of the ID Type and should accept the Integer or Relay ID #109

@jasonbahl

Description

@jasonbahl

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

Metadata

Metadata

Assignees

Labels

compat: breaking changeThis is a breaking change to existing functionalityhelp wantedIssue with a clear description that the community can help withneeds: infoMore information is needed to resolve this issuetype: bugIssue that causes incorrect or unexpected behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions