Skip to content

bug: infrahubctl schema changes are not being diff'ed correctly #854

@jjeff07

Description

@jjeff07

Component

No response

Infrahub SDK version

1.18.1

Current Behavior

I tried changing several attributes to be non-unique (unique: true -> unique: false) however infrahubctl schema check/load said there was no changes.

Expected Behavior

If an attribute has a change then the infrahubctl schema check/load commands should see something has changed and not report no changes.

Steps to Reproduce

Update an Attribute to be non-unique in a schema file
Try checking/loading the schema with infrahubctl

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions