metadata-qa-api icon indicating copy to clipboard operation
metadata-qa-api copied to clipboard

Inactive field creating categories

Open atiro opened this issue 4 years ago • 1 comments

Should a field marked as inactive still create a category if it's associated with it ? E.g.

    - name: contentWarning
      path: $.['contentWarning'][*].apprise
      categories:
          - CONTEXT
      inactive: true

still creates CONTEXT as SchemaFactory doesn't check active status.

(Again, discovered this while swapping files round and again could be argued that it shouldn't be in the category if it's inactive. But it might be useful to be able to turn on and off).

atiro avatar Jul 07 '21 20:07 atiro

@atiro I think I fixed it. Please check it, and report back that it does what you expect.

pkiraly avatar Jul 08 '21 15:07 pkiraly