Skip to content

Is there a way to prevent circular occurence in Data? #234

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

You must be logged in to vote

In this case I would not use another from call in the custom creation methods since this will probably cause the loop. Manually creating the data object is the best option here.

If it still keeps looping, then take a look at the validation, and manually write out the rules or add a WithoutValidation attribute to the property, since our validation rules resolver is probably creating nested validation rules loops.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@fd6130
Comment options

@rubenvanassche
Comment options

@fd6130
Comment options

@rubenvanassche
Comment options

@fd6130
Comment options

Answer selected by fd6130
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