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
convert primitiv to enum class #59
Comments
Hi @ls3642, |
Fixed! <dependency>
<groupId>com.googlecode.jmapper-framework</groupId>
<artifactId>jmapper-core</artifactId>
<version>1.6.1.CR2-SNAPSHOT</version>
</dependency> You need to add the Snapshot repository! go to wiki page for this. Add a star if you like the project! thank you for support! 👍 |
#58 points 1.6.2-SNAPSHOT as a snapshot version. How 1.6.1.CR2-SNAPSHOT differs from it? |
This snapshot includes several issue, see release notes for more info. For the first snapshot i haven't reasoned much about the definition of the name. This release include 1.6.2-SNAPSHOT, so you can use it without problem. |
Hi @avurro thanks for the fast response! |
are you using the snapshot? |
I thought the snapshot version 1.6.2-SNAPSHOT also includes the fix of this bug. I used now the version 1.6.1.CR2-SNAPSHOT and it worked perfectly. |
add a star if you like the project! thank you! 👍 |
We have the same issue. |
I think about it a bit, let you know |
I also vote for more often final releases, even if they contain 1 or 2 fixed issues. Thanks for your hard work. |
Hello, I understand that you might dont want to release yet, but please give us the chance to release a local version ourself with the fix. |
@phil-schneider give me the time to release a version with this fix, just few hours. |
I'm having problems with the tests, i am sorry for the delay |
Ok guys, 1.6.1.CR2 released! i'm apologize for my delay |
ConversionBodyIllegalCodeException: error in static conversion: probably is an incompatibility of signature, the expected input fields do not match with the real ones, checks the configured class.
I want to convert a primitiv short to an enum object.
.add(attribute("anEnum") .value("aShort")) .add(conversion("shortToEnum") .from("aShort").to("anEnum") .type(JMapConversion.Type.DYNAMIC) .body("return com.test.v1.Enum.get(${source});")));
The class has a get() method which returns an Enum.
maybe a Bug?
The text was updated successfully, but these errors were encountered: