-
-
Notifications
You must be signed in to change notification settings - Fork 586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inline virtual property #1558
Comments
Hi. Best Marcin. |
The purpose of what I was trying to achieve is just to have an object be represented as some value, without having to specify in everything that consumes it how to represent it. With |
I would suggest to use custom handler for such classes - see Best Marcin |
Perhaps |
Handlers are meant to subscribe to specific class only - they do not apply to the child classes. Event listeners can apply to child classes and interfaces. |
How is one supposed to inline a virtual property? The following does not work:
(Aside, it shouldn't be necessary to specify a name for an inlined property, nor should it be necessary to specify an empty array after the inline class).
Expected Result
{Foo: "2026-12-31T12:30:00+00:00"}
Actual Result
{Foo: {}}
The text was updated successfully, but these errors were encountered: