-
Notifications
You must be signed in to change notification settings - Fork 1
perf: improve array/hash operation #247
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
base: main
Are you sure you want to change the base?
Conversation
7 new issues
|
| end | ||
| end | ||
|
|
||
| def assign_many_to_one_records(caller, records, name, field_schema, projection) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| records.each { |record| record[name] = sub_records_by_key[record[field_schema.foreign_key]] } | ||
| end | ||
|
|
||
| def assign_to_one_or_many_records(caller, records, name, field_schema, projection) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...ges/forest_admin_datasource_mongoid/lib/forest_admin_datasource_mongoid/parser/validation.rb
Show resolved
Hide resolved
...ges/forest_admin_datasource_mongoid/lib/forest_admin_datasource_mongoid/parser/validation.rb
Show resolved
Hide resolved
| end | ||
| end | ||
|
|
||
| validations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Coverage Impact This PR will not change total coverage. Modified Files with Diff Coverage (14) 🤖 Increase coverage with AI coding...🚦 See full report on Qlty Cloud » 🛟 Help
|

Definition of Done
General
Security