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

Add Entity:Attribute Blacklist #328

Open
mjfpalmer opened this issue Jul 13, 2022 · 2 comments
Open

Add Entity:Attribute Blacklist #328

mjfpalmer opened this issue Jul 13, 2022 · 2 comments

Comments

@mjfpalmer
Copy link

EarlyBoundGenerator

When attributes are deprecated or marked not to be used without actually being removed (which does happen for various reasons), it would be nice to have the ability for EBG to blacklist these attributes so that they are not generated into the entity classes to avoid code references to the attributes.

Is this something that could be done?

Entity/Attribute selection UI would be a bonus, but I'd be more than happy to define this list manually. Something like:

<EntityAttributesBlacklist>
  contact:salutation|
  new_entity:new_attribute
</EntityAttributesBlacklist>
@daryllabar
Copy link
Owner

So adding an Obsolete attribute to the property, maybe with the option to make it an error if referenced?

@mjfpalmer
Copy link
Author

That can work. Anything to allow us to mark the use of an attribute as a warning/error.

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

No branches or pull requests

2 participants