Skip to content

Conversation

@ZackFra
Copy link
Owner

@ZackFra ZackFra commented Nov 24, 2024

…proved clarity and type safety

…ip handling and update method signature in ComparableService class for consistency
…meter and adjust instantiation in ComparableService
…ParentRecordLookup and update logic; add unit tests for ComparableService
…remove redundant setter in ComparableService
…rvice to utilize it; introduce ParentLookupResolver for field lookup chain handling
…s modifiers of finalField and fieldParts to private
…arableService to utilize new resolver for field lookup chain handling
…from findParentRecordAndRelationshipName; streamline comparable record handling
…g; consolidate logic in findParentRecordAndRelationshipName and improve builder usage
…dData; streamline parent record retrieval and enhance data encapsulation
…descriptions and builder pattern for improved usability
…eliminate redundant variable declaration and improve clarity in isPolymorphic handling
…ble; streamline comparable field retrieval using lookupChain
…able record retrieval; streamline method parameters and enhance clarity in parent record handling
…place redundant database call with direct access to parentRecord
…ring' to 'inherited sharing' for improved access control
…nt with parentInfo.getParentRecord() for improved clarity in record retrieval
… and streamline comparable record assignment for improved clarity
…al scope for improved clarity and reduced class-level state
…kup chain handling and remove redundant method
…ed clarity and consistency; update QueriedFieldResolver to utilize new exception methods and enhance relationship mapping logic
…andler; enhance QueriedFieldResolver and MockSOQLHandler for improved processing logic
…ndler for improved clarity in handling filter logic
…egateQueryHandler for improved clarity in handling filter and grouping logic
…ockAggregateQueryHandler for consistency; update method calls accordingly
…; enhance ComparableServiceTest for improved coverage
… introduce ParentRecordDataWithRelationshipMapping for better structure and clarity
…s method inside ParentRecordDataWithRelationshipMapping for better encapsulation
…ng; consolidate logic and remove unnecessary class for improved clarity and maintainability
…ntExceptions; improve error handling for invalid field names, null arguments, and incorrect date/time formats
…ied fields; validate field lookup for Contact records
…st for QueriedFieldResolver to validate parent field retrieval across multiple levels
@ZackFra ZackFra merged commit 2505ba0 into main Nov 25, 2024
1 check passed
@ZackFra ZackFra deleted the feature/comparable-service-refactor branch November 25, 2024 02:52
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.

2 participants