Skip to content

[Elixir] Generate messages from json schema instead of protobuf#29

Merged
mpkorstanje merged 43 commits into
mainfrom
messages-elixir-proto-to-jsonschema
Jun 8, 2026
Merged

[Elixir] Generate messages from json schema instead of protobuf#29
mpkorstanje merged 43 commits into
mainfrom
messages-elixir-proto-to-jsonschema

Conversation

@aurelien-reeves

@aurelien-reeves aurelien-reeves commented Aug 17, 2022

Copy link
Copy Markdown
Contributor

Originally submitted by @WannesFransen1994 on the monorepo as the following PR: cucumber/common#1952

It is intended to remove protobuf from the elixir implementation and to use the json schemas instead.

For the whole history, please see the original PR

Closes: #63

@aurelien-reeves

Copy link
Copy Markdown
Contributor Author

@WannesFransen1994 there are a few changes in that dedicated repo:

  • Makefiles are used only for code generation - not for build anymore
  • The CI is using github actions
    • one workflow per implementation: we will need a new one for elixir here: .github/workflows/test-elixir.yml
    • there is a dedicated workflow to make sure the generated code in the repo is up-to-date with the schemas

@aurelien-reeves aurelien-reeves left a comment

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've worked a little bit on that to comply with the new repo

What is left to do I guess is to add tests?
Using the CCK could maybe be done like perl does?

@mpkorstanje mpkorstanje self-requested a review November 17, 2022 15:31
@mpkorstanje

mpkorstanje commented Nov 17, 2022

Copy link
Copy Markdown
Member

@WannesFransen1994 for the CCK discussion #110

@luke-hill

Copy link
Copy Markdown
Contributor

Hi @WannesFransen1994 - Is there any updates on this?

@mattwynne

Copy link
Copy Markdown
Member

@WannesFransen1994 I am now working in Elixir day-to-day and although I'm still climbing the learning curve I'd certainly be been to pair with you on this if you have any time.

@mpkorstanje

mpkorstanje commented Apr 5, 2024

Copy link
Copy Markdown
Member

@mattwynne @luke-hill from what I understood and vaguely remember, Wannes work was subsidized and motivated by a grant. That grant has since run out. So I would not expect any more work to be done. I would ofcourse be pleasantly surprised otherwise.

Comment thread .github/workflows/test-codegen.yml Fixed
Comment thread .github/workflows/test-codegen.yml Fixed
@mpkorstanje mpkorstanje self-assigned this Jun 7, 2026
@mpkorstanje mpkorstanje changed the title [elixir] Convert proto-based messages to json schema based messages [elixir] Generate messages from json schema instead of protobuf Jun 7, 2026
@mpkorstanje mpkorstanje changed the title [elixir] Generate messages from json schema instead of protobuf [Elixir] Generate messages from json schema instead of protobuf Jun 7, 2026
@mpkorstanje mpkorstanje merged commit fea452e into main Jun 8, 2026
46 checks passed
@mpkorstanje mpkorstanje deleted the messages-elixir-proto-to-jsonschema branch June 8, 2026 15:10
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.

Migrate elixir from protobuf to JSON Schema based messages

6 participants