Open findepi opened 3 years ago
Constraint#predicate is an opaque Predicate that internally holds to an evaluator. this is passed to ConnectorMetadata#applyFilter
Constraint#predicate
Predicate
ConnectorMetadata#applyFilter
Question:
Regardless of the answer, since this is a subtle aspect of the SPI, we should document that in the javadoc.
No, it's not allowed to hold on to it. It's meant to be used only for the duration of the API call.
That would be my intuition as well, but i didn't know the intentions.
Constraint#predicate
is an opaquePredicate
that internally holds to an evaluator. this is passed toConnectorMetadata#applyFilter
Question:
ConnectorMetadata#applyFilter
returns?Regardless of the answer, since this is a subtle aspect of the SPI, we should document that in the javadoc.