Skip to content

Cleanup - #275

Merged
wolfadex merged 4 commits into
mainfrom
cleanup
Feb 16, 2026
Merged

wolfadex merged 4 commits into
mainfrom
cleanup

Conversation

@miniBill

Copy link
Copy Markdown
Collaborator

I've sorted specs in the example generation so that having more branches in the future will cause less conflicts. I'm actually considering removing the let variables and just having them inline, maybe with a helper String -> Input in the local scope

@github-actions

This comment was marked as outdated.

@github-actions

Copy link
Copy Markdown
diff --ignore-all-space --minimal --new-file --recursive main/cli/generated/NullableEnum/Api.elm branch/cli/generated/NullableEnum/Api.elm
0a1,55
> module NullableEnum.Api exposing (root, rootTask)
> 
> {-|
> 
> 
> ## Operations
> 
> @docs root, rootTask
> 
> -}
> 
> import Dict
> import Http
> import Json.Decode
> import NullableEnum.Json
> import NullableEnum.Types
> import OpenApi.Common
> import Task
> 
> 
> {-| Does stuff
> -}
> root config =
>     Http.request
>         { url = "/"
>         , method = "GET"
>         , headers = []
>         , expect =
>             OpenApi.Common.expectJsonCustom
>                 (Dict.fromList [])
>                 NullableEnum.Json.decodeNullableEnum
>                 config.toMsg
>         , body = Http.emptyBody
>         , timeout = Nothing
>         , tracker = Nothing
>         }
> 
> 
> {-| Does stuff
> -}
> rootTask :
>     {}
>     -> Task.Task (OpenApi.Common.Error e String) NullableEnum.Types.NullableEnum
> rootTask config =
>     Http.task
>         { url = "/"
>         , method = "GET"
>         , headers = []
>         , resolver =
>             OpenApi.Common.jsonResolverCustom
>                 (Dict.fromList [])
>                 NullableEnum.Json.decodeNullableEnum
>         , body = Http.emptyBody
>         , timeout = Nothing
>         }

@github-actions

Copy link
Copy Markdown
diff --ignore-all-space --minimal --new-file --recursive main/cli/generated/NullableEnum/Api.elm branch/cli/generated/NullableEnum/Api.elm
0a1,55
> module NullableEnum.Api exposing (root, rootTask)
> 
> {-|
> 
> 
> ## Operations
> 
> @docs root, rootTask
> 
> -}
> 
> import Dict
> import Http
> import Json.Decode
> import NullableEnum.Json
> import NullableEnum.Types
> import OpenApi.Common
> import Task
> 
> 
> {-| Does stuff
> -}
> root config =
>     Http.request
>         { url = "/"
>         , method = "GET"
>         , headers = []
>         , expect =
>             OpenApi.Common.expectJsonCustom
>                 (Dict.fromList [])
>                 NullableEnum.Json.decodeNullableEnum
>                 config.toMsg
>         , body = Http.emptyBody
>         , timeout = Nothing
>         , tracker = Nothing
>         }
> 
> 
> {-| Does stuff
> -}
> rootTask :
>     {}
>     -> Task.Task (OpenApi.Common.Error e String) NullableEnum.Types.NullableEnum
> rootTask config =
>     Http.task
>         { url = "/"
>         , method = "GET"
>         , headers = []
>         , resolver =
>             OpenApi.Common.jsonResolverCustom
>                 (Dict.fromList [])
>                 NullableEnum.Json.decodeNullableEnum
>         , body = Http.emptyBody
>         , timeout = Nothing
>         }

@wolfadex
wolfadex merged commit dde6b00 into main Feb 16, 2026
2 checks passed
@wolfadex
wolfadex deleted the cleanup branch February 16, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants