bitops icon indicating copy to clipboard operation
bitops copied to clipboard

Reserved keywords schema check (validation)

Open PhillypHenning opened this issue 3 years ago • 2 comments

Discussed in https://github.com/bitovi/bitops/discussions/226

Originally posted by PhillypHenning July 25, 2022 We will also need to clearly point out that some attributes are not usable as parameter names. Those being; ["export_env", "default", "enabled", "type", "parameter", "required", "dash_type"]

Which have been reserved by BitOps

ToDo

  • Create page in wiki
  • Move the reserved keys out of code and into a configuration option
  • Add to README

PhillypHenning avatar Jul 28 '22 20:07 PhillypHenning

Do we Error it out with some validation message on the code side in the case when the reserved word is used in a wrong way? Feels like a validation thing and what's the current behavior?

arm4b avatar Jul 28 '22 20:07 arm4b

This is relevant for the Plugin developers

arm4b avatar Oct 12 '22 16:10 arm4b