Skip to content

Operations constrained by controller generation? #1817

@bjornharrtell

Description

@bjornharrtell

SUMMARY

AFAIK atomic operations are constrained by what controller generation allows. So, if I only generate contollers for Query, the operations will not allow any add/update/remove.

I wonder if that is intentional? In my mind it would make sense to decouple because it can make sense to enforce resource API to be Query only and mandate atomic operations for add/update/remove.

VERSIONS USED

  • JsonApiDotNetCore version: 5.8.1
  • ASP.NET Core version: 8.0
  • Entity Framework Core version: 8.0
  • Database provider: PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions