cjoudrey/graphql-schema-linter
Non-null Int types for "first" argument are not accepted by rule "relay-connection-arguments-spec"
オープン
#148 opened on 2018/09/07
enhancementhelp wanted
Repository metrics
- Stars
- (704 個のスター)
- PR merge metrics
- (30d に merged PR はありません)
説明
The following queries all fail lint checks:
notablePeople(first: Int!, after: ID): NotablePersonConnection!
users(first: Int!, after: ID, where: UsersQueryWhereInput): UserConnection!
@requireOneOfRoles(roles: [MODERATOR])
notablePeopleEvents(
first: Int!
after: ID
where: NotablePersonEventsQueryWhereInput
): NotablePersonEventConnection!
If I remove the !, they all pass. Should not non-null integer types be accepted?