set source of pool rels on Templates#8536
set source of pool rels on Templates#8536ajtmccarty wants to merge 1 commit intoajtm-03062026-template-rel-poolsfrom
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (4)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Merging this PR will improve performance by 38.85%
Performance Changes
Comparing |
|
we are not taking the |
should follow #8535
adds an extra layer of logic to the single relationship graphql resolver to handle a special case for templates using a resource pool on a relationship
if a Template instance has a
xyz_from_resource_poolrelationship linked to a CoreIPAddress/PrefixPool, this really means that the source of thexyzrelationship will be the CoreIPAddress/PrefixPool on thexyz_from_resource_poolrelationshipthe new graphql serialization logic handles this by setting the source of the
xyzrelationship to the linked resource pool in this formatin combination with #8535, this allows the
_from_resource_poolrelationships to be completely ignored by users of the UI, SDK, object files, and graphql