New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - Options as object #144

Closed
deoqc opened this Issue Aug 15, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@deoqc
Copy link

deoqc commented Aug 15, 2016

Originally posted here.


options could also receive a object, instead of only a function returning a object. So avoid, options: () => ({ fragments }), for example.

It's quite common to do this, like in recompose. Also, it could be a general pattern for anything returning an object.

@jbaxleyiii

This comment has been minimized.

Copy link
Member

jbaxleyiii commented Aug 16, 2016

Added in the next release!

@jbaxleyiii jbaxleyiii closed this Aug 16, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment