Updated AuthorizationValidationRule to skip authorization checks when…
… the field is not included or skipped due to directives.
If there's a more elegant way to get the argument values from the validation context, let me know.
I'm not sure if this is enough for tests; I tried doing them so that the directive conditions came from inputs set up on the test config, but when the rule was pulling the argument values they weren't there, so I'm not sure if there's something more I'd need to do in the tests...
I wonder if I should also be accounting for these directives in the ObjectField handler?
@joemcbride, sorry, I don't know, should I be notifying you I made changes, somehow? I understand you might just not have had time to get back to this.
Yes should probably be handling this on the ObjectField as well. My apologies, I've gotten slammed with work at my day job.
As for the ObjectField, I'm not really sure what the difference is between that and a Field. Do ObjectFields have directives? There's no corresponding Directives property on them.