Mark Probst
dff3640011
Merge pull request #664 from waywardmonkeys/rust-derive-debug
...
Add an option for Rust to derive Debug impls.
2018-03-13 05:54:11 -07:00
Bruce Mitchener
ea11edcfcc
Add an option for Rust to derive Debug impls.
2018-03-13 16:21:39 +07:00
David Siegel
1fc32fb741
Merge pull request #662 from quicktype/ruby-no-instance
...
No need for Type.Instance for Dry::Struct
2018-03-12 17:34:53 -07:00
David Siegel
0778cd6766
No need for Type.Instance for Dry::Struct
2018-03-12 17:17:51 -07:00
David Siegel
bca35fdf7b
Merge pull request #660 from quicktype/ruby-types-module
...
Tidier Types module
2018-03-12 12:39:46 -07:00
David Siegel
32f662cbf8
Tidier Types module with type strictness option
...
* Omit synthetic StrictDouble when not used
* Align enum declarations
2018-03-12 12:22:47 -07:00
Mark Probst
f057e5298a
Merge pull request #661 from quicktype/fix-string-union-attributes
...
Fix string union attributes
2018-03-12 10:16:22 -07:00
Mark Probst
c78a1908c7
Flatten string types even if enums are disabled
...
Should fix https://sentry.io/typeguard/appquicktypeio/issues/489280042/
2018-03-12 09:28:27 -07:00
Mark Probst
4b2bdb2293
Fix missing attributes in unions containing multiple string types
2018-03-12 08:42:40 -07:00
David Siegel
35f8b792f2
Merge pull request #658 from quicktype/ruby
...
Add Ruby
2018-03-11 19:56:36 -07:00
David Siegel
117883c60b
Merge branch 'master' into ruby
2018-03-11 19:37:16 -07:00
David Siegel
ebb9e3548e
Merge pull request #659 from quicktype/remove-simple-types
...
Remove simple types
2018-03-11 19:36:00 -07:00
David Siegel
6599a68f18
Better optional handling for nullable values fromDynamic
2018-03-11 19:35:39 -07:00
David Siegel
76c115eb15
Split Ruby into new concurrent test run
2018-03-11 19:35:38 -07:00
David Siegel
f6237fd92f
Add Ruby to CI
2018-03-11 19:35:38 -07:00
David Siegel
42f4be58c2
Ruby support
2018-03-11 19:35:38 -07:00
David Siegel
17721bd4ad
Bump major version for Simple Types removal
2018-03-11 18:16:45 -07:00
David Siegel
288988c4c1
Remove Simple Types
...
Fixes #623
2018-03-11 18:16:25 -07:00
Mark Probst
4e5c67923c
Merge pull request #657 from quicktype/schema-refactor
...
Schema refactor
2018-03-10 22:24:53 -08:00
Mark Probst
5c6b2d320a
Simplify schema input
...
All refs are absolute, so we don't need root anymore.
2018-03-10 15:05:34 -08:00
Mark Probst
899974db17
Don't special-case definitions, either
2018-03-10 12:58:40 -08:00
Mark Probst
ec78f48c24
Implement "equals" and "hash" for Ref
2018-03-10 12:36:55 -08:00
Mark Probst
76194e90a6
Simplify Ref
2018-03-10 12:29:12 -08:00
Mark Probst
390fecb495
Ref refactoring
2018-03-10 12:29:12 -08:00
Mark Probst
02bc579333
Make path private in Ref
2018-03-10 12:29:12 -08:00
David Siegel
6f140978fd
Deploy web app first
...
VSCode users can wait 10 minutes
2018-03-10 10:49:44 -08:00
David Siegel
32a68df992
Merge pull request #656 from jkcclemens/master
...
Add visibility option on Rust fields
2018-03-10 10:44:29 -08:00
David Siegel
900f2b216f
Add Rusty visibility option to tests
2018-03-10 10:26:45 -08:00
Kyle Clemens
7af7bfe95e
Add visibility option on Rust fields
...
Fixes #655 .
2018-03-10 13:22:56 -05:00
Mark Probst
920f278802
Merge pull request #653 from quicktype/foreign-schema-refs
...
Foreign schema refs
2018-03-09 22:07:09 -08:00
Mark Probst
e2a8ea24ae
Allow almost arbitrary Schema refs
2018-03-09 21:28:43 -08:00
Mark Probst
73af615d8d
Make Ref into a class
2018-03-09 21:28:40 -08:00
Mark Probst
d4d65c1cff
Merge pull request #651 from quicktype/schema-fixes
...
Schema fixes
2018-03-09 11:42:32 -08:00
Mark Probst
3a80727167
Add a test for implicit allOf and oneOf
2018-03-09 11:23:31 -08:00
Mark Probst
75826d4b7c
Fix a type attribute bug
...
When adding only one type to a union
accumulator, but via multiple original types,
like a union containing only that type and
then the type itself, we would still make its
attributes inferred.
2018-03-09 11:23:31 -08:00
Mark Probst
9e86efde24
Handle more Schema object cases. Fixes #640 .
2018-03-09 11:23:31 -08:00
Mark Probst
6dcf7adc2c
Make all attributes inferred when we make names inferred
2018-03-09 11:23:31 -08:00
Mark Probst
76b1e75148
Fix a missing type attribute propagation
2018-03-09 11:23:31 -08:00
Mark Probst
58c738f4bb
Merge pull request #650 from quicktype/check-provenance
...
Enable the type attribute checks
2018-03-08 21:35:38 -08:00
Mark Probst
1d97f36ba3
Enable the type attribute checks
...
We're keeping track of whether we've lost
attributes now, so the check should be
accurate.
2018-03-08 21:05:23 -08:00
Mark Probst
02e6840c7a
Merge pull request #648 from quicktype/save-types-added
...
Do actually keep track of types added
2018-03-08 13:53:31 -08:00
Mark Probst
90054afea6
Do actually keep track of types added
2018-03-08 13:26:47 -08:00
Mark Probst
eaf066c374
Merge pull request #647 from quicktype/avoid-cycles-in-rewrites
...
Avoid cycles in rewrites
2018-03-08 13:05:16 -08:00
Mark Probst
0cb0bccb3e
Comments
2018-03-08 12:41:35 -08:00
Mark Probst
8bf3a9e5dd
Trivial simplification
2018-03-08 12:41:29 -08:00
Mark Probst
8c6f00961d
Deduplicate code
2018-03-08 11:49:19 -08:00
Mark Probst
58652f418f
Properly replace the set when looking up a set of type refs
2018-03-08 11:45:31 -08:00
Mark Probst
0284a41dc6
Don't look for the index of the lookup up ref
2018-03-08 11:41:44 -08:00
Mark Probst
0ac57f7bb6
Use forwarding ref yet more
2018-03-08 11:34:52 -08:00
Mark Probst
8ab737f5ac
Use forwarding ref more when reconstituting
2018-03-08 11:25:42 -08:00