-
Notifications
You must be signed in to change notification settings - Fork 142
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
How to create a custom entity #407
Labels
Milestone
Comments
Nothing like writing down your issue that makes you figure out your problems all by yourself. I realized that I needed to issue an
|
May I suggest that you add that knowledge to the online documentation? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry, but I'm lost in the documentation. I can find examples of defining custom entities and querying custom entities and it works for me - I can create bookings in the admin interface and list them in a separate page.
I can also finde examples of commands that create custom data (not custom entities) like
CatLike
in the SPA example - but how do I add an instance of a custom entity to the database programmatically? Could you please clarify that in the docs?I have a booking data model:
I also have a web-form for submitting a booking request. I can also make a command as well as a command handler. But what should I do in the command handler?
The text was updated successfully, but these errors were encountered: