Forced development environment and support for variables in queries (server)
Closed this issue · 2 comments
droidpl commented
No matter what is set in the NODE_ENV
environment variable, it fails to use the SDK as it has hardcoded a non-existend url. See the line referenced in the link below:
Also I think setting this as a process.env.NODE_ENV
is not a good idea since it takes whatever the user is using in his environment. I think it would be good to use a parameter or always stick to the public API as part of the sdk.
omerdoron1 commented
@droidpl we've fixed it. Now the SDK will always stick to the public API.
droidpl commented
Great thanks. Is there a big difference in usage from the previous one? I am using it to query and mutate and would like to know if it still supports the same methods/api. Also if it includes the variable parsing in the queries