Skip to content

500 Error when pointing to the same data object #61

Answered by rubenvanassche
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mazzv1,

This is because the package will automatically try to deduce validation rules for the object. Since the WorkerData keeps getting nested, validation rules are also getting nested which causes an infinite loop.

You can fix this by setting the rules manually for the manager property using the rules method.

Be sure to do this on version 1.3.0, because on previous versions the memory bug would still occur.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@roykesserwani
Comment options

@ghost
Comment options

@roykesserwani
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants