Skip to content

Sync generator should generate attributes #10842

Closed

Description

@MartinZikmund

What would you like to be added:

Almost all classes in UWP/WinUI have attributes declared. While some are not necessarily useful in Uno Platform context, some are, e.g. [ContentProperty].

Sync generator should generate these automatically if they are not present in non-generated code already.

Why is this needed:

Avoid missing attributes.

For which Platform:

  • WebAssembly
  • Android
  • iOS
  • macOS (AppKit)
  • Mac Catalyst
  • Skia
    • WPF
    • GTK (Linux)
    • Linux Framebuffer
    • Tizen
  • Windows
  • Build tasks
  • Solution Templates

Anything else we need to know?

Activity

  1. added
    kind/enhancement
    triage/untriaged
    difficulty/tbd
    difficulty/medium 🤔
    and removed
    triage/untriaged
    difficulty/tbd
    on Dec 28, 2022
  2. jeromelaban commented on Jan 9, 2023

    @jeromelaban
    Member

    Some of those attributes are not available on the project, if I'm not mistaken. We'll have to get them some other way.

  3. added
    area/code-generation
    project/core-tools 🛠️
    on Jan 9, 2023
  4. self-assigned this
    on Feb 1, 2023
  5. Youssef1313 commented on Jul 26, 2023

    @Youssef1313
    Member

    This should be fixed by #11254

    @MartinZikmund Feel free to re-open if there are still issues in this area.

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

Metadata

Metadata

Assignees

Labels

area/code-generationdifficulty/medium 🤔kind/enhancementproject/core-tools 🛠️

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions