Skip to content
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

Constructor doesn't get executed on command arrival #1220

Open
NickSeagull opened this issue Oct 31, 2022 · 0 comments
Open

Constructor doesn't get executed on command arrival #1220

NickSeagull opened this issue Oct 31, 2022 · 0 comments
Labels
bug Something isn't working dev-experience Developer Experience documentation Improvements or additions to documentation package:core Affects the core package

Comments

@NickSeagull
Copy link
Member

Bug Report

Current Behavior

We're typecasting command objects, but the constructor of the class is not executed. We should either document this or forbid the users to do code in the constructor.

I'm more inclined to create a better interface to create schemas, and not rely on classes though.

@NickSeagull NickSeagull added bug Something isn't working documentation Improvements or additions to documentation package:core Affects the core package dev-experience Developer Experience labels Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dev-experience Developer Experience documentation Improvements or additions to documentation package:core Affects the core package
Projects
Status: No status
Development

No branches or pull requests

1 participant