Skip to content

[WIP/QRCoder2] Consider Removing Nested Types from Public API Signatures #555

Closed

Description

@csturm83

MS design guidelines on the use of Nested Types suggests that they should be used sparingly and avoided in public API (amongst other recommendations).

PayloadGenerator comes to mind as well as some public enums in QRCodeGenerator. The nesting of types could be removed where unnecessary.

Activity

  1. added
    qrcoder2
    on May 28, 2024
  2. codebude commented on May 31, 2024

    @codebude
    Collaborator

    I don't think there's anything to add here. Where it makes sense, we can remove/unnest the nested types.

  3. codebude commented on May 31, 2024

    @codebude
    Collaborator

    I added this as "decision" to the descision post of the meta issue. Thus I'll close this issue here, so that we can mark it as completed/decided in the "things to discuss" list here.

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

    qrcoder2

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions