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

chore remove unnecessary checking #26

Closed
wants to merge 1 commit into from

Conversation

temmyraharjo
Copy link
Contributor

When passing the same record multiple times in _context.Initialize, ctx.CreateQuery will only produce a single record. Hence the currentEntities.Count() == 1 is unnecessary.

@github-actions
Copy link

github-actions bot commented Oct 20, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@temmyraharjo
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@jordimontana82
Copy link
Contributor

Thanks a mill @temmyraharjo .

I'll review this PR and merge it at some point after the next Albanian Summit :)

@jordimontana82
Copy link
Contributor

Thanks Temmy! I've merged this into another PR: #32 along with extra unit tests to cover that change. Will close this one cause : )

@github-actions github-actions bot locked and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants