FleekHQ / apollo-cursor-pagination

Relay's Connection implementation for Apollo Server GraphQL library
MIT License
61 stars 12 forks source link

feat: pass whether or not we are executing a query raw to the format function #47

Closed sammarks closed 4 years ago

sammarks commented 4 years ago

I'm back with another request :)

I've recently come across a bug where I need more information about the context in which the formatColumnFn is called (that context being whether or not the column is needed in a raw context or not, which tells me if I need to add quotes manually to the column or not).

Just a quick little addition! Tested this in my staging environment and appears to be working fine.

dmerrill6 commented 4 years ago

LGTM, thanks for another contribution!

dmerrill6 commented 4 years ago

Released in v0.0.9

sammarks commented 4 years ago

Thanks for the quick release!