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(i): Require secondary id field for one-ones #1770

Merged

Conversation

AndrewSisley
Copy link
Contributor

Relevant issue(s)

Resolves #1769

Description

Require secondary id field for one-ones.

Simple silly bug caused by developer misunderstanding. Simple fix.

@AndrewSisley AndrewSisley added bug Something isn't working area/schema Related to the schema system action/no-benchmark Skips the action that runs the benchmark. labels Aug 10, 2023
@AndrewSisley AndrewSisley added this to the DefraDB v0.7 milestone Aug 10, 2023
@AndrewSisley AndrewSisley requested a review from a team August 10, 2023 16:58
@AndrewSisley AndrewSisley self-assigned this Aug 10, 2023
@codecov
Copy link

codecov bot commented Aug 10, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.04% ⚠️

Comparison is base (5034cdc) 75.83% compared to head (4a3e642) 75.79%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1770      +/-   ##
===========================================
- Coverage    75.83%   75.79%   -0.04%     
===========================================
  Files          209      209              
  Lines        22063    22064       +1     
===========================================
- Hits         16730    16722       -8     
- Misses        4185     4191       +6     
- Partials      1148     1151       +3     
Flag Coverage Δ
all-tests 75.79% <100.00%> (-0.04%) ⬇️

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

Files Changed Coverage Δ
db/collection.go 73.85% <100.00%> (+0.03%) ⬆️

... and 3 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 5034cdc...4a3e642. Read the comment docs.

Copy link
Member

@shahzadlone shahzadlone left a comment

Choose a reason for hiding this comment

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

LGTM

@AndrewSisley AndrewSisley merged commit 480f1a9 into sourcenetwork:develop Aug 10, 2023
@AndrewSisley AndrewSisley deleted the 1769-secondary-one-one-id branch August 10, 2023 17:56
shahzadlone pushed a commit to shahzadlone/defradb that referenced this pull request Feb 23, 2024
## Relevant issue(s)

Resolves sourcenetwork#1769

## Description

Require secondary id field for one-ones.

Simple silly bug caused by developer misunderstanding. Simple fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action/no-benchmark Skips the action that runs the benchmark. area/schema Related to the schema system bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Patch one-one relation field to existing schema does not require both id fields
2 participants