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

support for implicit / virtual resource? #4

Open
toumorokoshi opened this issue Sep 22, 2023 · 1 comment
Open

support for implicit / virtual resource? #4

toumorokoshi opened this issue Sep 22, 2023 · 1 comment
Labels
resource-definition resource definition related discussions.

Comments

@toumorokoshi
Copy link
Member

Context: https://github.com/aep-dev/aepc/pull/1/files#r1332008974

There are resources that are more or less containers of other resources, rather than have any behavior in it's own right.

The question is: should these be expressed in the resource model via some specific property?

@toumorokoshi
Copy link
Member Author

My opinion: I don't think we need to express these any differently. Container resource should still have standard fields: they will just be fairly bare-bones.

One reason is that even with a resource that only contains other resources, it still needs an id, and likely additional CRUDL operations to operate on them.

If there's a special property that makes them differ from a fundamental resource, then I think there's a good motivation to specify them.

@toumorokoshi toumorokoshi mentioned this issue Sep 22, 2023
2 tasks
@toumorokoshi toumorokoshi added the resource-definition resource definition related discussions. label Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resource-definition resource definition related discussions.
Projects
None yet
Development

No branches or pull requests

1 participant