Skip to content

Conversation

@fuwasegu
Copy link
Contributor

@fuwasegu fuwasegu commented Dec 6, 2022

Classes which extend Belamov\PostgresRange\Ranges\Range::class have only getters of $from property and $to property but I need getters of $fromBound properties and $toBound properties.

The reason why I need them is that when creating wrapper of Range classes such TimestampRange::class, there are no way to recreate Range object from the wrapper.

So I added them.

@codecov
Copy link

codecov bot commented Dec 6, 2022

Codecov Report

Merging #24 (21e19f3) into master (b677388) will not change coverage.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##              master       #24   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity        77        79    +2     
===========================================
  Files             21        21           
  Lines            189       184    -5     
===========================================
- Hits             189       184    -5     
Impacted Files Coverage Δ
src/Ranges/Range.php 100.00% <100.00%> (ø)
src/Macros/BluePrintMacros.php 100.00% <0.00%> (ø)
src/PostgresRangeServiceProvider.php 100.00% <0.00%> (ø)
src/PostgresGrammarWithRangeTypes.php 100.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@fuwasegu fuwasegu requested a review from belamov December 6, 2022 09:07
@belamov belamov self-requested a review December 6, 2022 09:53
@belamov belamov merged commit 5527521 into belamov:master Dec 6, 2022
@fuwasegu
Copy link
Contributor Author

fuwasegu commented Dec 6, 2022

thank you for your review!

@belamov
Copy link
Owner

belamov commented Dec 6, 2022

thanks for contribution! :)
i released 1.2.0, so you can upgrade

@fuwasegu fuwasegu deleted the feat/add-bound-getter branch December 6, 2022 12: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.

2 participants