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?
to your account
the constructor function of custom EJSON types are not inside a fiber. Is this intentionally or a bug?
Here is a very basic reproduction repo:
The text was updated successfully, but these errors were encountered:
Thanks for the reproduction. In the future, though, the idea is that your reproduction should be a full Meteor app (with .meteor directory, etc), not a single file.
There are two separate issues here:
(1) check should work outside of a Fiber. I'll look into that.
(2) Actually, it should be illegal to yield inside a EJSON converter; we should make sure that it is consistently an error to yield (although the issue right here isn't yielding).
Sorry, something went wrong.
EJSON custom type conversion functions can't yield
Code ought to be able to parse and stringify EJSON values without having
to worry about concurrency issues.
Related to #2136.
No branches or pull requests