Accessors for the same member name must specify the same accessibility
todos getter/setters must either both be public or both be private. My preference is they are private, so that publicly, only the observable is accessible.
Another alternative is make private set _todos and public get todos.
You probably already know better than me which options are best, but thought I throw some options out there for others that come across this.
Thanks for the excellent example. Do you by any chance have an example for todosGroup and todos, and how they would work with each other when navigating from group to single todo?
Thank you for sharing. I value your input as a developer and person. :D
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Accessors for the same member name must specify the same accessibility
todos getter/setters must either both be public or both be private. My preference is they are private, so that publicly, only the observable is accessible.
Another alternative is make private set _todos and public get todos.
You probably already know better than me which options are best, but thought I throw some options out there for others that come across this.
Thanks for the excellent example. Do you by any chance have an example for todosGroup and todos, and how they would work with each other when navigating from group to single todo?
Thank you for sharing. I value your input as a developer and person. :D