Closed ddhar28 closed 4 years ago
The code currently works for tags and also takes extra keys like external-id
, type
and slug
. So it will work for both tags and entities.
Since entities are internal and we expect publishers to use it only in specific cases, more refined errors regarding entities need not be added and this can be left as it is for now.
We can come back to this later if we require more entity specific error messages in future.
The
tags
field in a story intermediate file accepts an array of objects of eithertag
orentity
type. If one or more mandatory fields from both type is not present in the object, Validator gives an error for both the types, which in turn might confuse the user.Acceptance criteria