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

1979 Коммитов

Автор SHA1 Сообщение Дата
Mark Probst d059b5f2b2 Keep separate primitive string attributes in intersection accumulator 2018-03-15 08:36:59 -07:00
Mark Probst 7f29650d44 Make types of intersection members inferred for the resulting union 2018-03-15 08:20:47 -07:00
Mark Probst bc49adf53c Keep separate class and map attributes in intersection accumulator 2018-03-14 19:04:27 -07:00
Mark Probst c7897dc673 Keep separate array type attributes in intersection accumulator 2018-03-14 19:03:43 -07:00
Mark Probst b4802890aa Keep enum attributes separate in intersection accumulator 2018-03-14 17:57:22 -07:00
Mark Probst 2c3ccfcfba Properly handle enum in the presence of type 2018-03-14 15:51:27 -07:00
Mark Probst be4dbeeea8 Support non-specified required properties. Fixes #609 2018-03-14 15:11:45 -07:00
Mark Probst 408f3d0ce6 More correct JSON Schema input. Fixes #606 2018-03-14 15:11:39 -07:00
Mark Probst 2c044121a7 Fix type attribute propagation for intersections 2018-03-14 15:11:39 -07:00
Mark Probst 2a2d9860af If items is specified, but not type, still make an array. Fixes #639 2018-03-14 15:11:39 -07:00
Mark Probst 6f349ae74d Restore compatibility to API 2018-03-14 15:11:38 -07:00
Mark Probst 2d45201524 Resolve external refs in Schema. Fixes #522 2018-03-14 15:11:38 -07:00
Mark Probst d32f27b6da Include a modified version of urijs types
They reference the jquery types, which results in errors,
because we're not compiling for browsers.
2018-03-14 15:11:38 -07:00
Mark Probst 489542b700 Use urijs for URIs in refs 2018-03-14 15:11:38 -07:00
Mark Probst 3573003c75 Support for more generic refs 2018-03-14 15:11:38 -07:00
Mark Probst 26d1eef068
Merge pull request #672 from quicktype/fix-default-on-options
Invert boolean options that are on by default on CLI. Fixes #671
2018-03-14 15:00:06 -07:00
Mark Probst cc141ff2f6 Invert boolean options that are on by default on CLI. Fixes #671 2018-03-14 14:36:03 -07:00
Mark Probst 0c3cf1f406
Merge pull request #668 from quicktype/fix-rust-boolean
Trivial fix
2018-03-14 00:39:29 -07:00
Mark Probst f87767d594 Trivial fix 2018-03-13 23:15:01 -07:00
Mark Probst ed4b493714
Merge pull request #665 from waywardmonkeys/fix-whitespace-in-blank-doc-comment-lines
Remove whitespace at end of blank doc comment lines.
2018-03-13 18:26:53 -07:00
Bruce Mitchener c1229b7a67 Remove whitespace at end of blank doc comment lines.
Since `commentLineStart` had a space at the end of it, if the
line in the comment was blank, there would be a space at the end
of that blank line.

In Rust, this resulted in a bunch of lines modified by `rustfmt`,
so it would be nicer to just not generate that extra bit of
whitespace.
2018-03-13 21:24:00 +07:00
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