Skip to content

Export bundle without top-level properties attribute #133

Description

@ecelen-minvws

Description:
Is it possible to export a bundle without the top-level properties attribute?

Use case:
I want to commit exported bundles to Git. The properties section appears to contain metadata, and I would prefer to exclude it to keep the bundle clean and avoid unnecessary diffs.

Current behavior:
When importing a bundle that contains the top-level properties attribute, the import command logs the following warning twice:
[warn] unknown entities, properties

If I manually remove the top-level properties attribute before importing, the warning still appears, but only once.

Questions:

  • Why does the import process log [warn] unknown entities, properties?
  • Why does it appear twice when properties is present?
  • Is there a supported way to export a bundle without the top-level properties section?

Environment:


graphman client v2.0.9
schema v11.1.2
supported schema(s): [v11.2.0, v11.1.3, v11.1.2, v11.1.1]
supported extension(s): [pre-request, post-export, pre-import, multiline-text-diff, policy-code-validator]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions