Skip to content
Unverified Commit 6e772b9d authored by Russell Cohen's avatar Russell Cohen Committed by GitHub
Browse files

Generate Builders for Structures (#3)

A builder object is generated for Structure shapes. The builder will be fallible (return `Result<T, String>`) if the structure has required members without defaults.

If the structure has no required members, the `build()` method directly returns the constructed object. This required a number of refinements to our module handling as the builders are namespaced to 1-module-per-shape.
parent 4557f6a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment