Reputation
541
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
2 5 13
Impact
~55k people reached

  • 0 posts edited
  • 0 helpful flags
  • 13 votes cast
Oct
25
comment two ways of doing the same thing, what is preferred?
@Tjaart The context is created when user entered values and pushed them into an application. I'm setting values user entered to those objects inside the context and If I see a wrong value, I add an error to the context, so when context will try to persist objects, he will instead notify user that bad value is entered.
Oct
25
comment two ways of doing the same thing, what is preferred?
there is a couple of objects in the context, so I should specify for which object to add an error.