Apollo-client: Undefined values in variable get converted to `null` preventing GraphQL default values

Created on 25 Sep 2017  路  11Comments  路  Source: apollographql/apollo-client

Most helpful comment

same here. please fix it and reopen

All 11 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions to Apollo Client!

Cant somebody (@jbaxleyiii?) look at this?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions to Apollo Client!

This issue has been automatically closed because it has not had recent activity after being marked as stale. If you belive this issue is still a problem or should be reopened, please reopen it! Thank you for your contributions to Apollo Client!

@migueloller we are looking into this in another issue / PR! Hope to have a resolution for it soon!

@jbaxleyiii, thank you so much!

@jbaxleyiii This is still an issue over a year later.

Can we get links to issues/PR's related to this?

Yes this is causing issues for me as well. Omitted variables get defaulted to null which can fail when the request is made against a GraphQL server or created unintended behavior.

Not sure if there is something I'm missing about the usage?

same here. please fix it and reopen

the same with "react-apollo": "^2.5.4" & "apollo-client": "^2.3.7",

Was this page helpful?
0 / 5 - 0 ratings