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

chore: Add output support to Playground API #1632

Merged
merged 1 commit into from Jun 8, 2023

Conversation

charithe
Copy link
Contributor

@charithe charithe commented Jun 8, 2023

Refactor the PlaygroundEvaluateResponse message to avoid repetition of
effectiveDerivedRoles and validationErrors.

Add outputs to the evaluate response.

Signed-off-by: Charith Ellawala charith@cerbos.dev

Refactor the `PlaygroundEvaluateResponse` message to avoid repetition of
`effectiveDerivedRoles` and `validationErrors`.

Add `outputs` to the evaluate response.

Signed-off-by: Charith Ellawala <charith@cerbos.dev>
@codecov
Copy link

codecov bot commented Jun 8, 2023

Codecov Report

Merging #1632 (f249ade) into main (5925445) will increase coverage by 0.16%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1632      +/-   ##
==========================================
+ Coverage   53.36%   53.53%   +0.16%     
==========================================
  Files         130      130              
  Lines       14852    14855       +3     
==========================================
+ Hits         7926     7952      +26     
+ Misses       6231     6206      -25     
- Partials      695      697       +2     
Impacted Files Coverage Δ
internal/server/tests.go 95.34% <100.00%> (-0.84%) ⬇️

... and 4 files with indirect coverage changes

@charithe charithe merged commit c823d98 into cerbos:main Jun 8, 2023
19 checks passed
@charithe charithe deleted the chore/playground-outputs branch June 8, 2023 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants