Skip to content

Kiota generates more model classes than are necessary for "sliced" Microsoft Graph APIs #2543

Description

When generating a model class that derives from a base class, it automatically generates the model for all types derived from that base class. For Microsoft Graph this causes us to generate a model for every entity as soon as we need one model derived from entity. This makes the slicing have a minimum size of more than 3MB DLL in CSharp.

We need to find a way of not generating models for derived types that are not actually used.

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

Metadata

Assignees

Labels

WIPenhancementNew feature or requestgeneratorIssues or improvements relater to generation capabilities.

Type

No type

Projects

  • Status

    Done ✔️

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions