Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In case of a single error, don't define a custom type #133

Merged
merged 4 commits into from
Aug 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ jobs:
- name: Diff the outputs
run: |
echo '```diff' > diff.md
diff -w -d -r main/generated branch/generated >> diff.md || true # We ignore diff exiting with a 1 on diff
echo '```' >> diff.md
diff -w -d -r main/generated branch/generated | dd bs=1024 count=30 >> diff.md || true # We ignore diff exiting with a 1 on diff
echo -e '\n```' >> diff.md

- name: Post a comment with the diff
uses: JoseThen/[email protected]
Expand Down
6 changes: 3 additions & 3 deletions example/src/Example.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ module Example exposing (main)

import AirlineCodeLookupApi.Api
import AirlineCodeLookupApi.Types
import Browser
import BasicRouter.Types
import BasicRouter.Json
import BasicRouter.Types
import Browser
import DbFahrplanApi.Api
import DbFahrplanApi.Types
import GithubV3RestApi.Api
Expand Down Expand Up @@ -67,7 +67,7 @@ subscriptions _ =


type Msg
= ConduitResponse (Result (OpenApi.Common.Error RealworldConduitApi.Types.GetArticle_Error String) RealworldConduitApi.Types.SingleArticleResponse)
= ConduitResponse (Result (OpenApi.Common.Error RealworldConduitApi.Types.GenericError String) RealworldConduitApi.Types.SingleArticleResponse)
| AmadeusResponse (Result (OpenApi.Common.Error AirlineCodeLookupApi.Types.Getairlines_Error String) AirlineCodeLookupApi.Types.Airlines)
-- | BimResponse (Result (OpenApi.Common.Error BimcloudApi20232AlphaRelease.BlobStoreService10BeginBatchUpload_Error Bytes.Bytes) Bytes.Bytes)
| GithubResponse (Result (OpenApi.Common.Error () String) GithubV3RestApi.Types.Root)
Expand Down
Loading
Loading