You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I feel that contracts serve quite a similar role as loggers - they are bug tracking tools at their core (lets not get into log parsing right now, ok?). In the spirit of logger configs (e.g. 1, 2) how about we let user configure policies package-/class-wide?
I'd imagine that,
given a config file like:
providers:
all-policies:
require: checkensure: checkneverGetHere: checkconfigure: #very debatable_: all-policies # means "by default";also debatableorg.example:
require: passorg.depdendency:
require: passensure: passorg.example.newfeature.AType:
neverGetHere: pass #stupid idea for examples sake
This was written ad-hoc, so it terribly simplified. I'd be happy to start working on PR, but first I wanted to discuss if that's the direction you wanna go with.
The text was updated successfully, but these errors were encountered:
I feel that contracts serve quite a similar role as loggers - they are bug tracking tools at their core (lets not get into log parsing right now, ok?). In the spirit of logger configs (e.g. 1, 2) how about we let user configure policies package-/class-wide?
I'd imagine that,
given a config file like:
we'd need a policy like:
This was written ad-hoc, so it terribly simplified. I'd be happy to start working on PR, but first I wanted to discuss if that's the direction you wanna go with.
The text was updated successfully, but these errors were encountered: