Skip to content

Interface definition only generated when document type is in use #232

Description

@dhymik

Problem:
Interface definition is only generated when document type is used in the site.

Expected bahavior:
The interface definition should always be generated, along with the partial class itself, which is always being generated..

Details:
For a document type used as a composition, I am checking for the interface type in code. However, the interface is only generated when the document type is used as a composition by some other document type. When the composition document type is not used anywhere, the document type's class is still correctly auto-generated, but not the interface. This leads to compile-time errors depending on whether a document type is currently used by other document types, or not.

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