Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve unresolvable TypeRef handling (System.Guid) #18

Open
dagood opened this issue Jan 14, 2023 · 0 comments
Open

Improve unresolvable TypeRef handling (System.Guid) #18

dagood opened this issue Jan 14, 2023 · 0 comments

Comments

@dagood
Copy link
Member

dagood commented Jan 14, 2023

Some types aren't in the current module, like System.Guid. Currently the tool logs them so the dev can implement them in another Go file in the package, but we could do better:

  • Put the list of unresolvable types at the top of the generated file (for more visibility).
  • Write code that explicitly checks that the type is implemented.

Resolving the types (across multiple winmd files?) is best, but I think some basic types will always need some manually defined types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant