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

Support 'mod' arithmetic function #648

Merged
merged 10 commits into from
Feb 21, 2024

Conversation

ddaakk
Copy link
Contributor

@ddaakk ddaakk commented Feb 21, 2024

Motivation

  • Missing arithmetic function mod in JDSL.

Modifications

  • Add Jpql function, expression and serializer for mod function.
  • Add tests.
  • Update documentation (English and Korean).

Result

  • The arithmetic function mod is added.

Closes

Copy link
Member

@shouwn shouwn left a comment

Choose a reason for hiding this comment

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

Please add JpqlModuloSerializer() to com.linecorp.kotlinjdsl.render.jpql.DefaultModule

@codecov-commenter
Copy link

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (567966a) 66.68% compared to head (3e9ca90) 66.76%.

Files Patch % Lines
...l/render/jpql/serializer/impl/JpqlModSerializer.kt 88.88% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #648      +/-   ##
===========================================
+ Coverage    66.68%   66.76%   +0.07%     
===========================================
  Files          477      479       +2     
  Lines         4806     4820      +14     
  Branches       277      277              
===========================================
+ Hits          3205     3218      +13     
- Misses        1544     1545       +1     
  Partials        57       57              

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

Copy link
Member

@shouwn shouwn left a comment

Choose a reason for hiding this comment

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

I'll fix some code after the merge. Thanks for your contribution!

@shouwn shouwn merged commit 7d02990 into line:develop Feb 21, 2024
4 checks passed
@progress0407
Copy link
Contributor

고생하셨습니다 ㅎ

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.

4 participants