Skip to content

Incorporating relations in our examples #1358

@dhmlau

Description

@dhmlau

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 methods

  • have 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

    • owner decides which use case makes more sense
  • 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions