Skip to content

Strawberry Shake doesn't generate interfaces as partial #4564

Closed
@Hosch250

Description

@Hosch250

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When generating a client with strawberry shake, I would expect the interfaces to look like:

public partial interface IWhatever {}

Instead, they don't include the partial keyword. The classes that implement the interfaces include the partial keyword, but because everything uses the interfaces, extending the classes alone is nearly worthless because you have to cast everything everywhere you needed to use the extension.

Steps to reproduce

  1. Generate Strawberry Shake client
  2. Try to extend an interface

Relevant log output

No response

Additional Context?

No response

Product

Strawberry Shake

Version

12.0.1

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions