Something that was confusing to me: the `PexPublis...
# plugins
h
Something that was confusing to me: the
PexPublishFieldSet
I made has a
required_field
that I didn't set in my target I'm using to test for publishing (and it doesn't have a default configured). I was under the impression that would fail because I didn't have that set, but does it work different from that?
Oh maybe I'm misinterpreting it
It's just that the target has to have that field in order to be a valid FieldSet. Not that the value is actually set on the target. I think?
h
precisely
it's about if the field is registered, not whether it's defined explicitly
c
You can implement a applicable check method on your fieldset to reject targets that you don't want for the field set. Don't recall the exact name (on my phone)