crnk-framework icon indicating copy to clipboard operation
crnk-framework copied to clipboard

Adding custom attributes to metadata endpoints

Open ryan13mt opened this issue 2 years ago • 1 comments

Crnk offers the /meta endpoints out of the box and we are trying to add some custom attributes but everything seems very complicated to modify or extend some functionality. The documentation states that we can provide a custom MetaProvider or extend the MetaModule but i have not found a single example or documentation of this feature being used by someone and from what i'm seeing, it seems it's very hard to modify the existing functionality.

Like for example there is the /meta/attribute endpoint that we want to add some custom attributes to. How can this be done without writing a whole new MetaModule for it? Let's say we want to add the column name each attribute is mapped to so that we can use this api in another part of our system.

@remmeier do you have any idea how this can be achieved?

Thanks

ryan13mt avatar Jun 14 '22 14:06 ryan13mt

Really curious for this as well, I can't seem to figure out the meta possibilities from the current documentation

MartenBE avatar Jan 05 '23 10:01 MartenBE