candid_dart_core 1.2.0
candid_dart_core: ^1.2.0 copied to clipboard
Provide the `did2dart` method to process `Candid` content, and quickly generate corresponding Dart code.
1.2.0 #
- Add
explicitSerializationMethodsfor generate options. - Log the configured options when generating.
- Use the raw field name when generating
toJsonif no explicit serialization.
1.1.18 #
- Fix
BigInttype prediction infromJson.
1.1.17 #
- Adds
fromIDLDeserializablefor generated type classes.
1.1.16 #
- Adds
toIDLSerializablefor generated type classes.
1.1.15 #
- Remove did comments from all
copyWithmethods. - Do not serialize boolean type with
toJson. - Do not add null-aware operator when serializing
VecType.
1.1.14 #
- Improve how type alias getting serialized.
- Improve how record class getting serialized.
1.1.13 #
- Fix enumeration classes
toJson.
1.1.12 #
- Improve
fromJsonandtoJsonfor Enum classes to compatible with other libraries.
1.1.10 #
- Improve how enumeration classes being parsed and serialized.
1.1.9 #
- Improve how
BigIntbeing parsed and serialized.
1.1.8 #
- Use
agent_dart_baseas the import package instead ofagent_dart.
1.1.7 #
- Use the current Dart version to format files.
- Remove unnecessary comments for generated files.
- Cast list item to the targeting Dart type.
1.1.6 #
- Generate
Objectfor equality comparison rather thandynamic. - Ignore unused imports.
- Better outputs for Enum classes.
1.1.5 #
- Support
composite_queryin candid.
1.1.4 #
- Fix nullable vec.
1.1.3 #
- Add IDL type.
1.1.2 #
- Fix circular dependency issue.
1.1.1 #
- Compatible with the new version of code_builder.
1.1.0 #
- Support for more Candid syntax.
1.0.1 #
- Add comments to the Service methods.
- Fix the issue of code generation failure caused by incorrect file name.
1.0.0 #
- Initial version.