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

2008 Коммитов

Автор SHA1 Сообщение Дата
David Siegel 40f705e20f
Add TypeScript as supported input 2018-04-02 23:07:51 -05:00
Mark Probst d69ad4ddda
Merge pull request #744 from quicktype/schema-tuples
Accept tuple JSON Schema input. Fixes #741
2018-04-02 21:02:32 -07:00
David Siegel 7136f53054
This script name was changed 2018-04-02 22:57:03 -05:00
Mark Probst cb431c05ac Accept tuple JSON Schema input. Fixes #741 2018-04-02 20:31:35 -07:00
Mark Probst 086c56684b
Merge pull request #739 from bielikb/swift_hashable_conformance
hashable conformance
2018-04-02 09:25:46 -07:00
Mark Probst 2d5397a9f5
Merge pull request #708 from quicktype/csharp-optional
Csharp optional
2018-04-02 09:13:05 -07:00
Mark Probst 187e7b5e10 Test C# with check-required enabled 2018-04-02 08:45:27 -07:00
Mark Probst e895991700 Make check of required properties off by default in C# 2018-04-02 08:10:12 -07:00
Mark Probst 4ee5cdc230 C# refactor 2018-04-02 08:08:59 -07:00
Mark Probst dc5cbf568f Shorten attribute in dense mode 2018-04-02 08:08:59 -07:00
Mark Probst eb9b5a1777 Distinguish nullable vs optional in GraphQL input 2018-04-02 08:08:59 -07:00
Mark Probst df2ac8cad3 Distinguish nullable vs optional in C#. Fixes #704 2018-04-02 08:08:59 -07:00
Mark Probst b520de5929 Allow multiple attributes per C# property 2018-04-02 08:08:59 -07:00
Mark Probst 8028a5436e
Merge pull request #735 from quicktype/renderer-option-kind
Distinguish between main and misc renderer options. Fixes #707
2018-04-02 07:25:08 -07:00
Boris Bielik 34672c3edb hashable conformance 2018-04-02 07:23:24 +02:00
Mark Probst 0e9add33f4
Merge pull request #738 from quicktype/typescript-diagnostics
Typescript diagnostics. Fixes #737
2018-04-01 19:31:31 -07:00
Mark Probst 76f4b32d0e Distinguish between main and misc renderer options. Fixes #707 2018-04-01 18:51:36 -07:00
Mark Probst 5df2cb58ae Report first TypeScript compiler error 2018-04-01 18:41:42 -07:00
Mark Probst 5e525b2160 Simplify TypeScript compiler options 2018-04-01 18:41:25 -07:00
David Siegel b3c7feb282
Use our fork of typescript-json-schema (#730) 2018-04-01 19:58:17 -05:00
Mark Probst 152b9ebe9c
Merge pull request #734 from quicktype/make-provenance-optional
Make provenance checking into a debug option.  Fixes #709
2018-04-01 15:56:44 -07:00
Mark Probst 984992b636 Make provenance checking into a debug option. Fixes #709 2018-04-01 15:38:23 -07:00
Mark Probst a78af3e97f Don't lose type attributes in none-to-any 2018-04-01 15:38:23 -07:00
Mark Probst 889fb7fcc4
Merge pull request #733 from quicktype/ts-to-schema-short-circuit
TypeScript to Schema short circuit. Fixes #732
2018-04-01 14:44:56 -07:00
Mark Probst 2fff10513d Short-circuit TypeScript to JSON Schema
Don't go through the IR.
2018-04-01 14:22:03 -07:00
Mark Probst dccb313b36 Pass TypeScriptTypeSource from CLI to core 2018-04-01 14:21:10 -07:00
Mark Probst 48ada97e00 Export less
We just incremented our major version, and nobody should
be using these, anyway.
2018-04-01 13:19:13 -07:00
Mark Probst 892ffd4103
Merge pull request #731 from quicktype/test-typescript-input
Run TS input fixture in CI
2018-04-01 12:50:12 -07:00
Mark Probst 77a816932c Run TS input fixture in CI 2018-04-01 12:24:06 -07:00
David Siegel ae32fd9486
Merge pull request #721 from quicktype/typescript-input
TypeScript as a source language
2018-04-01 13:16:27 -05:00
David Siegel 68e6f8577d Add a TypeScript TypeSource (#727) 2018-04-01 12:50:14 -05:00
Mark Probst 43b66b5f0c TypeScript input test fixture 2018-04-01 09:27:04 -07:00
Mark Probst 99fe994c82 More forbidden global names for C# and TypeScript 2018-04-01 09:27:04 -07:00
Mark Probst 6378785901 Move TypeScript input out of CLI to quicktype core 2018-04-01 09:27:04 -07:00
Mark Probst 5703476522 TypeScript input from strings 2018-04-01 09:27:01 -07:00
Mark Probst 88d097500c Move a script 2018-04-01 09:27:01 -07:00
Mark Probst 6f6217b544 Move base64/inflate to Support.ts 2018-04-01 09:27:01 -07:00
David Siegel ad9743d895 TypeScript as a source language 2018-04-01 09:26:57 -07:00
Mark Probst ee4731951c
Merge pull request #725 from quicktype/rename-top-levels
Rename top-level types if absolutely necessary
2018-03-31 20:43:29 -07:00
Mark Probst b388e119df Rename top-level types if absolutely necessary
With the option of making all types in a schema top-levels ,
and the same thing with TypeScript input, the likelihood
that a type name will be illegal is quite high.
2018-03-31 20:23:07 -07:00
Mark Probst dbb5ada000
Merge pull request #723 from quicktype/fix-top-level-enum
Fix top level enum
2018-03-31 17:48:27 -07:00
Mark Probst 059b002358 Disable top-level enum test for Ruby 2018-03-31 17:47:40 -07:00
Mark Probst a4180b3744 Top-level enum "fix" for Swift 2018-03-31 17:08:59 -07:00
Mark Probst aae88a28f7 Add top-level enum test
Ironically we can't test it on C# because the driver assumes
the partial class exists.
2018-03-31 16:32:36 -07:00
Mark Probst b2f0059c59 Don't generate partial class for top-level enum. Fixes #722 2018-03-31 16:29:33 -07:00
Mark Probst 1853914ec4
Merge pull request #720 from quicktype/fix-objc-stack-overflow
Remove dead ObjC code.  Fixes #715
2018-03-31 06:59:28 -07:00
Mark Probst 971f422364 Remove dead ObjC code. Fixes #715 2018-03-30 23:04:38 -07:00
Mark Probst ac97c13573
Merge pull request #714 from quicktype/map-optional
mapOptional convenience function
2018-03-30 08:46:50 -07:00
Mark Probst 8818f56027 mapOptional convenience function 2018-03-30 08:12:21 -07:00
Mark Probst 4effed9218
Merge pull request #712 from quicktype/schema-fixes
Schema fixes
2018-03-29 11:14:00 -07:00