Skip to content

feature: Support for Relationship Assignment via from_pool in Object Load #447

@lancamat1

Description

@lancamat1

Component

infrahubctl CLI

Describe the Feature Request

Enable support for assigning relationships using the from_pool helper directly within object load YAML. This would allow users to specify that a relationship field (such as primary_ip_address) should be automatically populated from a defined pool, using a syntax like:

primary_ip_address:
  from_pool: "mypool"

Currently, this is possible via GraphQL and the UI, but not via object load. Adding this capability would make object load consistent with other interfaces.

Describe the Use Case

Object load is especially valuable because it supports loading data via Git integration.

Additional Information

https://discord.com/channels/1212332642801025064/1212669187198025759/1383398871887122452

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions