olirice / nebulo

Instant GraphQL API for PostgreSQL and SQLAlchemy
MIT License
92 stars 5 forks source link

Passing `null` to first/last in a connection error #6

Open olirice opened 3 years ago

olirice commented 3 years ago

When null is passed to a first/last argument on a connection it errors with

int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Culprit https://github.com/olirice/nebulo/blob/master/src/nebulo/gql/resolve/transpile/query_builder.py#L84