Skip to content

Feature Request: ILegacyInteroperability include GID id property to allow flexible ID retrieval via interface #1232

Description

@jhardin-accumula

Assuming that all types having a legacyResourceId also have a GID, can we get this change so that both IDs are accessible via the ILegacyInteroperability interface?

public interface ILegacyInteroperability : IGraphQLObject
{
    /// <summary>
    /// The globally-unique ID.
    /// </summary>
    [JsonPropertyName("id")]
    public string? id { get; set; }

    /// <summary>
    /// The ID of the corresponding resource in the REST Admin API.
    /// </summary>
    [JsonPropertyName("legacyResourceId")]
    public ulong? legacyResourceId { get; set; }
}

It does compile successfully.

Thank you!

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions