Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ppl: add support for additional data #2696

Merged
merged 2 commits into from Oct 22, 2021

Conversation

calebdoxsey
Copy link
Contributor

Summary

Add support for additional data that can be returned by PPL criteria. This can be used to provide contextual data about evaluation. For example if we require a certain device type, the context data could include the expected device type which can inform how we handle the error.

Additional data is a map[string]interface{}.

Related issues

Checklist

  • reference any related issues
  • updated docs
  • updated unit tests
  • updated UPGRADING.md
  • add appropriate tag (improvement / bug / etc)
  • ready for review

@calebdoxsey calebdoxsey added the enhancement New feature or request label Oct 22, 2021
@calebdoxsey calebdoxsey requested a review from a team as a code owner October 22, 2021 15:44
@codeclimate
Copy link

codeclimate bot commented Oct 22, 2021

Code Climate has analyzed commit ff7b213 and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

View more on Code Climate.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 64.958% when pulling ff7b213 on cdoxsey/ppl-additional-details into 91fd44e on master.

@calebdoxsey calebdoxsey merged commit 6e48627 into master Oct 22, 2021
@calebdoxsey calebdoxsey deleted the cdoxsey/ppl-additional-details branch October 22, 2021 18:32
@desimone desimone mentioned this pull request Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants