You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
With my current setup it would make working non-local backends easier since there is no need to upload persisted queries every time queries change when developing.
I was able to hack my local version to produce this:
if(__DEV__){(nodeasany).params.text="query ...";}
I guess we could add a flag to enable this and configure the if dev check or maybe just use process.env.NODE_ENV.
The text was updated successfully, but these errors were encountered:
It would be nice to be able to use
devOnlyAssignments
(https://github.com/facebook/relay/blob/f8585ab4f90f2e707d5555c9f7b423de3ea553bd/packages/relay-compiler/language/RelayLanguagePluginInterface.js#L176) to provide the text in dev when using persisted queries.With my current setup it would make working non-local backends easier since there is no need to upload persisted queries every time queries change when developing.
I was able to hack my local version to produce this:
I guess we could add a flag to enable this and configure the if dev check or maybe just use
process.env.NODE_ENV
.The text was updated successfully, but these errors were encountered: