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

New settings API #116

Merged
merged 9 commits into from
Jan 25, 2024
Merged

New settings API #116

merged 9 commits into from
Jan 25, 2024

Conversation

alexander-yevsyukov
Copy link
Collaborator

@alexander-yevsyukov alexander-yevsyukov commented Jan 25, 2024

This PR adopts new conventions for passing settings to plugins recently introduced by ProtoData.

Notable changes

  • EntityState and CommandMessage are now handled by Message.requiresRuntimeValidation() extension function to handle the cases of assumed validation constraint for the first message field. Later this would be handled by codegen.
  • Validation settings file in java-tests/consumer/ is now copied to the protodata/settings/ directory to follow the new protocol.

@alexander-yevsyukov alexander-yevsyukov self-assigned this Jan 25, 2024
@alexander-yevsyukov alexander-yevsyukov marked this pull request as ready for review January 25, 2024 15:58
Copy link

codecov bot commented Jan 25, 2024

Codecov Report

Merging #116 (e45e5a9) into master (3b90a0b) will increase coverage by 2.19%.
The diff coverage is 44.44%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #116      +/-   ##
============================================
+ Coverage     34.34%   36.54%   +2.19%     
- Complexity      324      342      +18     
============================================
  Files           123      123              
  Lines          2428     2430       +2     
  Branches        195      197       +2     
============================================
+ Hits            834      888      +54     
+ Misses         1537     1483      -54     
- Partials         57       59       +2     

@alexander-yevsyukov alexander-yevsyukov merged commit 5c30e67 into master Jan 25, 2024
@alexander-yevsyukov alexander-yevsyukov deleted the new-settings-api branch January 25, 2024 16:41
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.

2 participants