[BUG?] EJSON addType callback not in a fiber #2136
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
There are two separate issues here:
(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).
Code ought to be able to parse and stringify EJSON values without having to worry about concurrency issues. Related to #2136.