plank icon indicating copy to clipboard operation
plank copied to clipboard

A tool for generating immutable model objects

Results 40 plank issues
Sort by recently updated
recently updated
newest added

The workflow ci.yml is referencing action actions/checkout using references v1. However this reference is missing the commit [a6747255bd19d7a757dbdda8c654a9f84db19839](https://github.com/actions/checkout/commits/a6747255bd19d7a757dbdda8c654a9f84db19839) which may contain fix to the some vulnerability. The vulnerability fix that...

This is reading JSON data from the network. If the type behind a key changes, it is simple to crash models if casting is used to pass a non-dictionary in....

Currently **extends** is used for models inheritance in Plank schema. **Pros:** - Support of inheritance in schema just makes it easier. **Cons:** - It is really "**allOf**" other than having...

Hi, I migrated from swfit/objc to flutter few months ago, and I used to use plank for all my iOS projects. I couldn't find any immutable model generator for dart...

They add `@NonNull` annotations, but otherwise, there's no consequence. If I have a model with a required field, I'd expect that `MyModel.builder().build()` would throw an exception, but as it is,...

java

From [Calling Java code from Kotlin](https://kotlinlang.org/docs/reference/java-interop.html): > `Boolean` accessor methods (where the name of the getter starts with `is` and the name of the setter starts with `set`) are represented...

java

The latest version needs to reflect: - No more use of AutoValue - Ability to check which fields are "set" - Updated usage pattern for TypeAdapters - Other minor changes

java

In a codebase where developers manually execute the Plank binary to generate models, it is difficult to detect scenarios where they may be landing code based on an outdated Plank...

https://github.com/bazelbuild/rules_jvm_external

It would be nice if there was a method had to check if the model is "valid" in the sense that it contains the non-optional set of fields as defined...