Граф коммитов

1607 Коммитов

Автор SHA1 Сообщение Дата
Mark Probst e5b6e3c541 Treat class types with additional properties as maps 2018-02-14 10:21:44 -08:00
Mark Probst 8a457b7c91 Fix maps of named union types in Go 2018-02-14 10:21:44 -08:00
Mark Probst 24c739fbe9 Support unions of classes and maps by making them maps 2018-02-14 10:21:40 -08:00
Mark Probst d58ab2c563
Merge pull request #527 from quicktype/json-schema-roots
Add option to use all schema definitions as top-levels. Fixes #518
2018-02-14 06:46:09 -08:00
Mark Probst bba2afb17e Add option to use all schema definitions as top-levels. Fixes #518 2018-02-13 22:02:52 -08:00
Mark Probst d2ede2aa52
Merge pull request #519 from quicktype/descriptions
Type and property descriptions
2018-02-13 15:26:54 -08:00
Mark Probst 7fca47e143 Property descriptions 2018-02-13 14:29:31 -08:00
Mark Probst a839469367 Type description from JSON Schema 2018-02-13 13:32:17 -08:00
Mark Probst 27037f00ed Rename a function 2018-02-13 13:32:17 -08:00
Mark Probst 02dfc3d07f Use alternative names better. Fixes #510 2018-02-13 13:32:17 -08:00
Mark Probst 45073ad53e Don't infer names in type inference. Fixes #513 2018-02-13 13:32:17 -08:00
Mark Probst 36325dbdf4 Move attribute and name stuff out of TypeGraph.ts 2018-02-13 13:32:17 -08:00
Mark Probst 26b66fb796 Fix TypeScript 2.7 issues 2018-02-13 13:32:17 -08:00
Mark Probst b8c7aba402 Thread type attributes through the whole pipeline
Before this, whenever a graph was rewritten, the new graph would
lose all type attributes except for the names, because we special-
cased adding them.  Now we special-case modifying them, but we
always thread all attributes through.  In addition there's a
mechanism for combining attributes which is used when classes are
combined.  Each attribute kind can specify how its values are to
be combined.
2018-02-13 13:23:36 -08:00
Mark Probst 00e8b4a13a
Merge pull request #499 from quicktype/custom-target-languages
More Java customization
2018-02-13 10:45:53 -08:00
Mark Probst 23b7f53582
Merge pull request #515 from quicktype/markov
Markov
2018-02-13 10:45:25 -08:00
David Siegel aaf5025dc2 Use 'and' rather than ampersand 2018-02-13 10:10:25 -08:00
David Siegel 0c3ff07fdd Slightly better wording 2018-02-13 10:09:54 -08:00
David Siegel 58a9248586 Add Rust 2018-02-13 10:07:10 -08:00
David Siegel 8bdf70b63a
Merge pull request #517 from quicktype/rust-dense
Dense option for Rust
2018-02-13 09:59:57 -08:00
David Siegel 3960c7a061 Add density test to the correct language 2018-02-13 09:18:25 -08:00
David Siegel c8eeb129c8 Dense option for Rust
See #516
2018-02-13 09:01:29 -08:00
David Siegel 67635a6feb
Merge pull request #512 from krk/master
Rust language support added.
2018-02-13 07:58:30 -08:00
krk 794768edc1 Rust language support added. 2018-02-13 17:53:09 +03:00
Mark Probst c53f70ce6f Function to generate text from Markov chain 2018-02-13 06:46:13 -08:00
Mark Probst 25b208b262 Function to get scores per character from Markov chain 2018-02-13 06:45:46 -08:00
Mark Probst 8cc9ffad5d Allow languages to skip "misc" JSON inputs 2018-02-12 14:59:34 -08:00
Mark Probst 099e238fda Nicer "Contributing" section in README 2018-02-11 15:45:16 -08:00
David Siegel 693e4d2452
Merge pull request #470 from quicktype/swift-no-failables
Remove failable initializers from Swift
2018-02-10 02:40:31 -08:00
David Siegel 4e68660099 Allow specifing encoding in jsonString 2018-02-09 22:24:04 -08:00
David Siegel 242c8f7700 Remove failable inititializers from Swift
Swift convenience initializers now only throw exceptions on error, rather than sometimes throwing and sometimes returning nil.
2018-02-09 22:24:03 -08:00
Mark Probst 6fbe248e32
Merge pull request #508 from quicktype/no-empty-nlohmann
Don't emit empty "nlohmann" namespace in C++. Fixes #504
2018-02-09 18:49:41 -08:00
Mark Probst 8be36df298 Don't emit empty "nlohmann" namespace in C++. Fixes #504 2018-02-09 14:35:31 -08:00
Mark Probst ef7f92e0ba
Merge pull request #507 from quicktype/set-names-once
Set type names only once
2018-02-09 08:27:04 -08:00
Mark Probst cb690fe286 Set type names only once 2018-02-09 07:31:20 -08:00
Mark Probst 26c486d277
Merge pull request #506 from quicktype/make-type-names-immutable
Make TypeNames immutable
2018-02-09 06:42:43 -08:00
Mark Probst 5485455e0c Make TypeNames immutable 2018-02-08 21:44:50 -08:00
David Siegel 31056c59ab
Merge pull request #505 from quicktype/csharp-liberal-properties
Don't forbid type names for properties in C#
2018-02-08 19:45:00 -08:00
David Siegel 325f0725c7 Forbid ToJson as property name 2018-02-08 17:55:25 -08:00
David Siegel 754020cc7a Use the namespace to disambiguate 'Converter' 2018-02-08 17:55:13 -08:00
David Siegel e03da03c95 Don't forbid type names for properties in C#
Fixes #503
2018-02-08 17:20:32 -08:00
Mark Probst f44293cc6c
Merge pull request #501 from quicktype/markov
Actually use the Markov Chain for map inference, for real this time
2018-02-08 08:41:00 -08:00
Mark Probst 021e33b5e6 Better Markov model 2018-02-08 07:41:25 -08:00
Mark Probst 46429a4596 Actually use the Markov Chain to infer maps 2018-02-07 19:23:17 -08:00
David Siegel 6c23967d3f
Tighter input/target language display 2018-02-06 11:05:47 -08:00
David Siegel be99d739eb
Much better README 2018-02-06 08:31:04 -08:00
Mark Probst e252bbd51c More naming customization 2018-02-06 08:19:33 -08:00
Mark Probst f5feb9efff
Merge pull request #498 from quicktype/fix-duplicate-declarations
Fix duplicate declarations
2018-02-06 06:53:23 -08:00
Mark Probst 80820aaec5 Make customizing Java imports easier 2018-02-05 21:52:51 -08:00
Mark Probst d0b1b30868 Make it easy to customize Java property getter and setter names 2018-02-05 21:33:16 -08:00