You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the best way to save the validator function for later use?
It returns: Error in context_eval(join(src), private$context) : ReferenceError: jv_21774e4676e1 is not defined when I try to use a saved validator function.
Thanks
/Anders
The text was updated successfully, but these errors were encountered:
At present, the way the validator works is by creating a temp file:
name<- basename(tempfile("jv_"))
So you are correct that saving the R object does not help because the temp file can be lost, and then the validator does not have anything to execute (In your example, the temp file jv_21774e4676e1 is missing). The easiest approach at present is to just save the schema, because a new validator can always be created on the fly. However, perhaps worth thinking about a way to make the validator function an R object.
Hi there,
What is the best way to save the validator function for later use?
It returns: Error in context_eval(join(src), private$context) : ReferenceError: jv_21774e4676e1 is not defined when I try to use a saved validator function.
Thanks
/Anders
The text was updated successfully, but these errors were encountered: