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

fix: Normalize int field kind #1619

Merged
merged 2 commits into from
Jul 11, 2023

Conversation

nasdf
Copy link
Member

@nasdf nasdf commented Jul 10, 2023

Relevant issue(s)

Resolves #1618

Description

Changes field kind Integer to Int when patching schemas.

Tasks

  • I made sure the code is well commented, particularly hard-to-understand areas.
  • I made sure the repository-held documentation is changed accordingly.
  • I made sure the pull request title adheres to the conventional commit style (the subset used in the project can be found in tools/configs/chglog/config.yml).
  • I made sure to discuss its limitations such as threats to validity, vulnerability to mistake and misuse, robustness to invalidation of assumptions, resource requirements, ...

How has this been tested?

make test

Specify the platform(s) on which this was tested:

  • MacOS

@codecov
Copy link

codecov bot commented Jul 10, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.01 🎉

Comparison is base (b0dff56) 73.80% compared to head (cf5bb01) 73.81%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1619      +/-   ##
===========================================
+ Coverage    73.80%   73.81%   +0.01%     
===========================================
  Files          193      193              
  Lines        19953    19953              
===========================================
+ Hits         14726    14728       +2     
+ Misses        4141     4138       -3     
- Partials      1086     1087       +1     
Flag Coverage Δ
all-tests 73.81% <ø> (+0.01%) ⬆️

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

Impacted Files Coverage Δ
client/descriptions.go 95.24% <ø> (ø)

... and 7 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b0dff56...cf5bb01. Read the comment docs.

Copy link
Collaborator

@fredcarle fredcarle left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for taking care of this :)

@nasdf nasdf merged commit 5e35e00 into sourcenetwork:develop Jul 11, 2023
10 checks passed
@nasdf nasdf deleted the nasdf/fix/normalize-int-field-kind branch July 11, 2023 03:04
shahzadlone pushed a commit to shahzadlone/defradb that referenced this pull request Feb 23, 2024
## Relevant issue(s)

Resolves sourcenetwork#1618 

## Description

Changes field kind `Integer` to `Int` when patching schemas.

## Tasks

- [x] I made sure the code is well commented, particularly
hard-to-understand areas.
- [x] I made sure the repository-held documentation is changed
accordingly.
- [x] I made sure the pull request title adheres to the conventional
commit style (the subset used in the project can be found in
[tools/configs/chglog/config.yml](tools/configs/chglog/config.yml)).
- [x] I made sure to discuss its limitations such as threats to
validity, vulnerability to mistake and misuse, robustness to
invalidation of assumptions, resource requirements, ...

## How has this been tested?

`make test`

Specify the platform(s) on which this was tested:
- MacOS
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.

Normalize Int field kind
2 participants