Skip to content

Struct GraphGroup does not export isDeleted property #43

@tmeckel

Description

@tmeckel

While authoring acceptance tests for the Azure DevOps Terraform provider I discovered that type GraphGroup struct does not export the isDeleted property.

image

The acceptance test requires a check if a created group has been removed (deleted) by the destroy operation of Terraform. The issue is that a call to GetGroup of the Graph client the group is still returned so the acceptance test still assumes that the group was not destroyed and thus consequently fails. If the isDeleted property would be available in the struct, the implementation can check the state of the property to verify a successful destruction aside that the GetGroup method returns nil.

@nmiodice

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions