Skip to content

fix(elixir-sdk-dev): fix generate function in elixir-sdk#12890

Merged
wingyplus merged 1 commit intodagger:mainfrom
wingyplus:elixir-toolchain-generate
Apr 16, 2026
Merged

fix(elixir-sdk-dev): fix generate function in elixir-sdk#12890
wingyplus merged 1 commit intodagger:mainfrom
wingyplus:elixir-toolchain-generate

Conversation

@wingyplus
Copy link
Copy Markdown
Contributor

  • Change the function name generate to clientLibrary.
  • Fix clientLibrary function to use introspection json from daggerEngine instead of using from the input.
  • Remove codegen dependency.
  • Make dagger generate elixir-sdk works.
  • Generate the SDK to sdk/elixir.

@wingyplus wingyplus requested a review from a team as a code owner March 31, 2026 15:33
},
"dependencies": [
{
"name": "codegen",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont know why it is added but it didnt use in the module so I removing it.

@wingyplus wingyplus force-pushed the elixir-toolchain-generate branch 3 times, most recently from 9813235 to 1536ace Compare April 4, 2026 04:16
@grouville grouville force-pushed the elixir-toolchain-generate branch from 1536ace to 012b8eb Compare April 8, 2026 17:59
@grouville grouville modified the milestones: v0.20.5, v0.20.6, v0.20.7 Apr 9, 2026
@wingyplus wingyplus force-pushed the elixir-toolchain-generate branch 2 times, most recently from 73294c8 to c2fedf0 Compare April 11, 2026 07:50
@wingyplus
Copy link
Copy Markdown
Contributor Author

Do I need to add a changelog?

- Change the function name `generate` to `clientLibrary`.
- Fix `clientLibrary` function to use introspection json from
  `daggerEngine` instead of using from the input.
- Remove `codegen` dependency.
- Make `dagger generate elixir-sdk` works.
- Generate the SDK to `sdk/elixir`.

Signed-off-by: Thanabodee Charoenpiriyakij <wingyminus@gmail.com>
@wingyplus wingyplus force-pushed the elixir-toolchain-generate branch from c2fedf0 to 0e22d71 Compare April 13, 2026 07:32
Copy link
Copy Markdown
Member

@TomChv TomChv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No lockfile needed, I tested locally and it worked!

Approved

@wingyplus
Copy link
Copy Markdown
Contributor Author

Thanks. I will merge it then. 🙏

@wingyplus wingyplus merged commit 983d5b0 into dagger:main Apr 16, 2026
66 checks passed
@wingyplus wingyplus deleted the elixir-toolchain-generate branch April 16, 2026 15:16
eunomie added a commit to sipsma/dagger that referenced this pull request Apr 16, 2026
* upstream/main:
  Revert "fix: builtin dang dependency module loading (dagger#12975)" (dagger#12994)
  fix(elixir-sdk-dev): fix generate function in elixir-sdk (dagger#12890)
  fix: builtin dang dependency module loading (dagger#12975)
  skills: restore engine playground testing skill (dagger#12929)
  modules: use built-in dang SDK where safe (dagger#12941)
  chore: prep for v0.20.6 (dagger#12990)

Signed-off-by: Yves Brissaud <yves@dagger.io>
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.

3 participants