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

include/khepri.hrl: Expose ?IS_KHEPRI_STORE_ID/1 macro #231

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

dumbbell
Copy link
Member

Why

This allows to abstract the type of the store ID.

How

The macro already existed for a long time, but was in a private header. This patch moves it to the public header.

In the process, it is renamed from ?IS_STORE_ID/1 to ?IS_KHEPRI_STORE_ID/1 to reduce the namespace pollution.

[Why]
This allows to abstract the type of the store ID.

[How]
The macro already existed for a long time, but was in a private header.
This patch moves it to the public header.

In the process, it is renamed from `?IS_STORE_ID/1` to
`?IS_KHEPRI_STORE_ID/1` to reduce the namespace pollution.
@dumbbell dumbbell added the enhancement New feature or request label Oct 31, 2023
@dumbbell dumbbell added this to the v0.9.0 milestone Oct 31, 2023
@dumbbell dumbbell self-assigned this Oct 31, 2023
Copy link

codecov bot commented Oct 31, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3860dce) 88.89% compared to head (ddac0e7) 88.93%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #231      +/-   ##
==========================================
+ Coverage   88.89%   88.93%   +0.03%     
==========================================
  Files          20       20              
  Lines        2891     2891              
==========================================
+ Hits         2570     2571       +1     
+ Misses        321      320       -1     
Flag Coverage Δ
erlang-24 87.82% <ø> (+0.03%) ⬆️
erlang-25 87.78% <ø> (+0.10%) ⬆️
erlang-26 88.61% <ø> (+0.03%) ⬆️
os-ubuntu-latest 88.93% <ø> (+0.03%) ⬆️
os-windows-latest 88.55% <ø> (+0.13%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
src/khepri.erl 90.57% <ø> (ø)
src/khepri_adv.erl 100.00% <ø> (ø)
src/khepri_cluster.erl 78.76% <ø> (ø)
src/khepri_import_export.erl 95.29% <ø> (ø)
src/khepri_machine.erl 95.30% <ø> (ø)

... and 1 file with indirect coverage changes

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

@dumbbell dumbbell marked this pull request as ready for review October 31, 2023 13:45
@dumbbell dumbbell merged commit 73f8317 into main Oct 31, 2023
12 checks passed
@dumbbell dumbbell deleted the expose-IS_KHEPRI_STORE_ID-macro branch October 31, 2023 13:45
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.

1 participant