-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Go package #118
Comments
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. |
Big yes from me 🚀 This repo is not meant to be Node.js only. Actually, we changed its name from |
Great idea. I'm only afraid of putting it next to |
I thought the same. Then I realized only one |
oh, you are in a rush here 😅
|
I agree I rushed a bit on this issue. I didn't consider it to be that harmful as you probably did. Otherwise, I would have waited for more feedback obviously!
I don't know why I assumed they won't be included. My fault.
For that reason, I decided to go with the most simple way of handling this: Symmetric releases for all packages. What's your suggestion in terms of releasing strategy for this monorepo? At a glance, I see the following concerns:
|
this must be clear when we do changes, when we discuss issues, when we open PRs. I'm sure that Fran approved without knowing this as it was not mentioned.
This package is used by the parser, and therefore by every single tool we have in JS. So basically an empty release of this package will cause an empty release in the entire AsyncAPI ecosystem. I have to say I definitely do not like it 😄 even if this is just from time to time. Empty releases are evil IMHO. Symetric release is cool in react component where we release different bundles and versions of it, but here, not really. so yeah, this is what I meant by
maybe in the end it was not the best idea to do a monorepo for this project 🤷🏼 intentions made sense but from release perspective it sounds unreasonable. |
I love your explanation with so much detail about what you were concern of. Really it means a lot 💯
Maybe the release effort is too much so indeed it is not worth to maintain a monorepo. If we don't do monorepo, we will either need to maintain a mirror copy of the schemas on each repository, or use git submodules. |
Sounds strange but happy to help 😆
This is basically the whole point I have. There is no one best solution and we need to remember to discuss first before we make changes that affect stuff like release process. Like for example now it all looks to me like basically a move of schemas to |
Reason/Context
I’m trying to give some 💛 to https://github.com/asyncapi/parser-go. I just wanted to add support for the latest spec versions (it only supports
2.0.0
).In order to get the JSON Schema files for each spec, so it supports all of them, we would need to follow a similar approach @asyncapi/specs` package does (built from this repository).
Description
I suggest we just add a
.go
file into this repository similar toindex.js
.I have a POC here https://github.com/smoya/spec-json-schemas/blob/feat/go/spec-json-schemas.go
The text was updated successfully, but these errors were encountered: