Publish this.changed API too strict #850
Closed
Comments
cmather
added a commit
that referenced
this issue
Mar 21, 2013
This used to throw an error "Could not find field to clear". Now it doesn't.
Great! |
Thanks for the patch, Chris. Just ran across this issue myself and this resolved it. |
sdarnell
referenced
this issue
in sdarnell/meteor-win
Apr 7, 2013
This used to throw an error "Could not find field to clear". Now it doesn't.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think that Meteor.publish this.changed API is too strict. I am getting "Could not find field to clear" error when I am trying to set a field to
undefined
, just to be sure, because I have multiple program paths. Wouldn't it be better that it would simply ignore unsetting the value if it is not set in the first place? What is the use rationale why it is necessary to throw an error in this case?The text was updated successfully, but these errors were encountered: