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

micro.Schema is missing in micro framework #1741

Open
amdshrif opened this issue Nov 23, 2024 · 1 comment
Open

micro.Schema is missing in micro framework #1741

amdshrif opened this issue Nov 23, 2024 · 1 comment
Labels
defect Suspected defect such as a bug or regression

Comments

@amdshrif
Copy link

amdshrif commented Nov 23, 2024

Observed behavior

I was looking for a way to share the schema of the payload in a nats message and I have watched this youtube video on Synadia channel by Jermy Saenz about micro framework here (https://youtu.be/byHGNUqIONw?t=452) and I can see he is using micro.Schema with reflector but I do not see the micro.Schema supported in the official latest release. Any clarifications? has it been dropped?

Expected behavior

micro.Schema should be there.

Server and client version

[1] 2024/11/20 04:29:13.705497 [INF] Starting nats-server
[1] 2024/11/20 04:29:13.705607 [INF] Version: 2.10.22
[1] 2024/11/20 04:29:13.705610 [INF] Git: [240e9a4]
[1] 2024/11/20 04:29:13.705612 [INF] Cluster: my_cluster
[1] 2024/11/20 04:29:13.705613 [INF] Name: NBMG3CD6OWQCX4EYELZZ24NSAQXJI7AQRRZKODMMQPZUQRWIDWUBXYBR
[1] 2024/11/20 04:29:13.705618 [INF] ID: NBMG3CD6OWQCX4EYELZZ24NSAQXJI7AQRRZKODMMQPZUQRWIDWUBXYBR
[1] 2024/11/20 04:29:13.705630 [INF] Using configuration file: nats-server.conf
[1] 2024/11/20 04:29:13.706170 [INF] Starting http monitor on 0.0.0.0:8222
[1] 2024/11/20 04:29:13.706324 [INF] Listening for client connections on 0.0.0.0:4222
[1] 2024/11/20 04:29:13.706580 [INF] Server is ready
[1] 2024/11/20 04:29:13.706636 [INF] Cluster name is my_cluster
[1] 2024/11/20 04:29:13.706751 [INF] Listening for route connections on 0.0.0.0:6222

Host environment

Docker

Steps to reproduce

No response

@amdshrif amdshrif added the defect Suspected defect such as a bug or regression label Nov 23, 2024
@Jarema
Copy link
Member

Jarema commented Nov 25, 2024

Hey!

Yes, schema was removed after metadata was added. Reason being - it was just a string anyway, so one can as well use the metadata.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Suspected defect such as a bug or regression
Projects
None yet
Development

No branches or pull requests

2 participants