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

Can no longer pass a Type to the Mixin #28

Closed
StevenTCramer opened this issue Aug 20, 2023 · 1 comment
Closed

Can no longer pass a Type to the Mixin #28

StevenTCramer opened this issue Aug 20, 2023 · 1 comment
Milestone

Comments

@StevenTCramer
Copy link
Contributor

StevenTCramer commented Aug 20, 2023

Using any Moxy Version: above 1.2.0 up to the latest (1.6.0-Beta1)

Given the example below:

@moxy
@attribute required Type StateType
@moxy

// StateType.FullName = {{StateType.FullName}}

and usage as

[MixinSomething(typeof(MyThing))]

Moxy will fail to generate. I have a real-world use case we are using but the above will demonstrate the issue fine.

mrpmorris added a commit that referenced this issue Aug 20, 2023
Don't ouptut `typeof()` in generated source Fixes #28
@mrpmorris mrpmorris added this to the 1.6 milestone Aug 21, 2023
@mrpmorris
Copy link
Owner

Fixed in 1.6

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

2 participants