Skip to content

Feat/v2 hooks#118

Merged
lfbrehm merged 26 commits intofeat/version2.0reworkfrom
feat/v2_hooks
Sep 22, 2023
Merged

Feat/v2 hooks#118
lfbrehm merged 26 commits intofeat/version2.0reworkfrom
feat/v2_hooks

Conversation

@lfbrehm
Copy link
Copy Markdown
Member

@lfbrehm lfbrehm commented Sep 22, 2023

Hooks

This PR adds rudimentary Hook triggers and includes drafts for further Hook functionality.

Fixes

Some syncing issues between DB and cache are fixed

@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 22, 2023

Codecov Report

Patch coverage: 19.87% and project coverage change: -3.65% ⚠️

Comparison is base (a4d41bb) 45.16% compared to head (6e88245) 41.51%.
Report is 2 commits behind head on feat/version2.0rework.

Additional details and impacted files
@@                    Coverage Diff                    @@
##           feat/version2.0rework     #118      +/-   ##
=========================================================
- Coverage                  45.16%   41.51%   -3.65%     
=========================================================
  Files                         61       66       +5     
  Lines                       8177     9380    +1203     
=========================================================
+ Hits                        3693     3894     +201     
- Misses                      4484     5486    +1002     
Files Changed Coverage Δ
src/auth/token_handler.rs 22.40% <0.00%> (-3.94%) ⬇️
src/caching/cache.rs 72.14% <0.00%> (-3.27%) ⬇️
src/database/dsls/mod.rs 100.00% <ø> (ø)
src/database/dsls/relation_type_dsl.rs 0.00% <0.00%> (ø)
src/grpc/collections.rs 0.00% <0.00%> (ø)
src/grpc/datasets.rs 0.00% <0.00%> (ø)
src/grpc/hooks.rs 0.00% <0.00%> (ø)
src/grpc/info.rs 0.00% <0.00%> (ø)
src/grpc/object.rs 0.00% <0.00%> (ø)
src/grpc/search.rs 0.00% <0.00%> (ø)
... and 18 more

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Copy Markdown
Contributor

@das-Abroxas das-Abroxas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The future will show whether the implementation details have gaps or not. Approved by my side but occurring errors will be fixed by the author 🙂

Comment thread src/grpc/search.rs
}
// Check if object metadata is publicly available
match object_plus.object.data_class {
DataClass::PUBLIC => {}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Private objects should get (redacted) infos as well. So it was correct before, but ultimately we should tie this to the "Metadata" License.

Comment thread src/grpc/search.rs

// Check if object metadata is publicly available
match object_plus.object.data_class {
DataClass::PUBLIC => {}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as in get_resource, unclear if this is correct permission wise.

@lfbrehm lfbrehm merged commit 2cc511e into feat/version2.0rework Sep 22, 2023
@lfbrehm lfbrehm deleted the feat/v2_hooks branch September 22, 2023 12:05
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.

3 participants