Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Feature Request - Options as object #144

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

Feature Request - Options as object #144

deoqc opened this issue Aug 15, 2016 · 1 comment

Comments

@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
Copy link
Contributor

Added in the next release!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants