holidayextras / jsonapi-server

A config driven NodeJS framework implementing json:api and GraphQL
MIT License
488 stars 115 forks source link

Public API for config of a resource #405

Open PieterJanVdb opened 6 years ago

PieterJanVdb commented 6 years ago

Are there any future plans to expose a public API for the config of a resource. Eg. so you can get the relationships of a resource from the schema to cascade delete without having to hardcode that somewhere in your app. Or knowing which fields are required for any additional business logic.

It's possible to achieve this by using the resourceConfig and its private properties but I assume this isn't intended and subject to breakage?