-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support custom type tags with multiple parameters
+ Fix a bug in parsing custom type text: Instances in tag parameters need to be enclosed in parentheses. + Expand generation of the JSON coding functions to support tags with multiple parameters. Expand the decoders to support the automatic migration of applications from previous versions. + Automate tests for the new features, also specifically covering the core types `Maybe` and `Result`. + Expand the full-stack demo app to illustrate the new functionality. + Also, fix a path in the `demo-backend-state.ps1` script.
- Loading branch information
Showing
8 changed files
with
212 additions
and
45 deletions.
There are no files selected for viewing
129 changes: 92 additions & 37 deletions
129
implement/PersistentProcess/PersistentProcess.Common/CompileElmValueSerializer.cs
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
implement/PersistentProcess/example-elm-apps/demo-backend-state/demo-backend-state.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 92 additions & 1 deletion
93
implement/test/modeled-in-elm/generate-json-coders/src/Main.elm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters