-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
[Annotation Processor] Set default int type to BigInteger #433
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, to minor comments
@@ -81,6 +81,7 @@ public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment | |||
try { | |||
plutusContractBlueprint = PlutusBlueprintLoader.loadBlueprint(blueprintFile); | |||
} catch (Exception e) { | |||
e.printStackTrace(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep this for now till we find a better way to notify error during compilation.
@@ -207,6 +208,8 @@ public FieldSpec processPlutusDataType(String javaDoc, BlueprintSchema schema, S | |||
private String getPackage(String ns) { | |||
String pkg = (ns != null && !ns.isEmpty())? annotation.packageName() + "." + ns + ".model" | |||
: annotation.packageName() + ".model"; | |||
|
|||
pkg = pkg.toLowerCase(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wondering if we should also remove -
and _
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @nemo83 . Done.
BigInteger
#422