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

Adding custom attributes to metadata endpoints #846

Open
ryan13mt opened this issue Jun 14, 2022 · 1 comment
Open

Adding custom attributes to metadata endpoints #846

ryan13mt opened this issue Jun 14, 2022 · 1 comment

Comments

@ryan13mt
Copy link

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

@MartenBE
Copy link

MartenBE commented Jan 5, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants