-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Incorporating relations in our examples #1358
Comments
In discussion with @b-admike and @shimks, there are few options on how to add relations in our examples:
Option 2: Recreate CoffeeShop example from LB3
|
@dhmlau I've added some acceptance criteria, but I think we should discuss what type of app we would like to create before we estimate this task. Thoughts? We have a good starting point with the options you provided and I personally would like to go with Option 2, because I think creating a new app would not be daunting given the examples we already have in place. |
closing as done. |
Description / Steps to reproduce / Feature proposal
Incorporating relations in our examples, either create new example or use existing ones (e.g. todo example).
Acceptance Criteria
The example application should:
Create another todo intermediate example(a new example package)
demonstrate defining and configuring a
hasMany
relation, and calling related repository CRUD APIs from controller methodshave the necessary unit and acceptance tests
have proper naming convention for the controller method paths / API endpoints (a good read at https://medium.com/@factoryhr/how-to-build-a-good-api-relationships-and-endpoints-8b07aa37097c)
Docs and tutorials that show users scaffold the new example package step by step.
Note:
List/User hasMany Todos
Authentication is not in scope of this story.
bonus: figure out a way that don't duplicate code from todo example.
See Reporting Issues for more tips on writing good issues
The text was updated successfully, but these errors were encountered: