We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm looking at the falcor-router-demo and it looks like it is suggesting that if a resource is not found, you return a path value of undefined.
falcor-router-demo
undefined
results.push({ path: ['titlesById', titleId], value: undefined });
However, in cache/pathValueMerge.js, we've got:
else if ((pathValue.value !== null) && (pathValue.value.$type === $ref)) {
Am I right in assuming that I should return null, not undefined if the path is not found?
null
Thanks in advance.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm looking at the
falcor-router-demo
and it looks like it is suggesting that if a resource is not found, you return a path value ofundefined
.However, in cache/pathValueMerge.js, we've got:
Am I right in assuming that I should return
null
, notundefined
if the path is not found?Thanks in advance.
The text was updated successfully, but these errors were encountered: