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 ColumnIgnore Attribute, or add an overload to ColumnHeader to ignore fields from the output #76

Closed
cajuncoding opened this issue Sep 28, 2024 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@cajuncoding
Copy link

It's a very common use case to have Models that have additional fields that we don't wish to output such as what is provided by JsonIgnore attribute for Json. For the Spreadcheetah outputs we don't always want to spin up new models just to hide fields so a feature to support this would be very useful. It could be a new [ColumnIgnore] attribute or an overload on the existing [ColumnHeader] attribute. Along with some additional examples in the docs to show these additional features for the CodeGen functionality. 😁

@sveinungf
Copy link
Owner

Sounds like a useful feature. Thanks for the suggestion!

@sveinungf sveinungf added the enhancement New feature or request label Sep 30, 2024
@sveinungf sveinungf added this to the v1.19.0 milestone Nov 2, 2024
@sveinungf
Copy link
Owner

The ColumnIgnore attribute is now available in version 1.19.0. An example can be seen in the wiki.

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

No branches or pull requests

2 participants