Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/test-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
- scala3-upickle,schema-scala3-upickle
- elixir,schema-elixir,graphql-elixir
- elm,schema-elm
- gleam,schema-gleam
- comment-injection-treesitter,comment-injection-typescript,comment-injection-typescript-zod,comment-injection-typescript-effect-schema

# Not yet started
Expand Down Expand Up @@ -205,6 +206,15 @@ jobs:
elixir-version: "1.15.7"
otp-version: "26.0"

- name: Install Gleam
if: ${{ contains(matrix.fixture, 'gleam') }}
uses: erlef/setup-beam@v1
with:
# gleam_json delegates to OTP's built-in json module, which
# requires OTP 27 or newer.
otp-version: "27.0"
gleam-version: "1.14.0"

- run: QUICKTEST=true FIXTURE=${{ matrix.fixture }} npm run test:fixtures
env:
CPUs: ${{ contains(matrix.fixture, 'scala3') && '2' || '0' }}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
| [Java](https://app.quicktype.io/#l=java) | [Scala](https://app.quicktype.io/#l=scala3) | [TypeScript](https://app.quicktype.io/#l=ts) | [Swift](https://app.quicktype.io/#l=swift) | [Objective-C](https://app.quicktype.io/#l=objc) | [Elm](https://app.quicktype.io/#l=elm) |
| ---------------------------------------- | ------------------------------------------- | -------------------------------------------- | ------------------------------------------ | ----------------------------------------------- | -------------------------------------- |

| [JSON Schema](https://app.quicktype.io/#l=schema) | [Pike](https://app.quicktype.io/#l=pike) | [Prop-Types](https://app.quicktype.io/#l=javascript-prop-types) | [Haskell](https://app.quicktype.io/#l=haskell) | [PHP](https://app.quicktype.io/#l=php) |
| ------------------------------------------------- | ---------------------------------------- | --------------------------------------------------------------- | ---------------------------------------------- | -------------------------------------- |
| [JSON Schema](https://app.quicktype.io/#l=schema) | [Pike](https://app.quicktype.io/#l=pike) | [Prop-Types](https://app.quicktype.io/#l=javascript-prop-types) | [Haskell](https://app.quicktype.io/#l=haskell) | [PHP](https://app.quicktype.io/#l=php) | [Gleam](https://app.quicktype.io/#l=gleam) |
| ------------------------------------------------- | ---------------------------------------- | --------------------------------------------------------------- | ---------------------------------------------- | -------------------------------------- | ------------------------------------------ |

_Missing your favorite language? Please implement it!_

Expand Down
2 changes: 2 additions & 0 deletions packages/quicktype-core/src/language/All.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { CrystalTargetLanguage } from "./Crystal/index.js";
import { DartTargetLanguage } from "./Dart/index.js";
import { ElixirTargetLanguage } from "./Elixir/index.js";
import { ElmTargetLanguage } from "./Elm/index.js";
import { GleamTargetLanguage } from "./Gleam/index.js";
import { GoTargetLanguage } from "./Golang/index.js";
import { HaskellTargetLanguage } from "./Haskell/index.js";
import { JSONSchemaTargetLanguage } from "./JSONSchema/index.js";
Expand Down Expand Up @@ -44,6 +45,7 @@ export const all = [
new ElixirTargetLanguage(),
new ElmTargetLanguage(),
new FlowTargetLanguage(),
new GleamTargetLanguage(),
new GoTargetLanguage(),
new HaskellTargetLanguage(),
new JavaTargetLanguage(),
Expand Down
Loading