Extending a model by an individual toString method causes Where-Filter to break #7920
Unanswered
markus-hsk
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
i want to implement an individual toString method into my model to just output it's "Name" easier.
P.e. this is how it should look like:
I then want to just throw it into an output like this:
That is indeed working, BUT now i am facing a problem when i try to use filter on the matching repository.
As far as i understand it, the problem is that toString is not a property but a function. But that in my opinion shouldn't be a problem. Can anyone help me out on this?
Beta Was this translation helpful? Give feedback.
All reactions