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

Use enums for roles and scopes #14

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

jastBytes
Copy link
Contributor

This is an API breaking change, but leverages proto enums instead of having constants in go code. This has the advantage that the API doesn't accept arbitrary strings but having enums instead.

@jastBytes jastBytes marked this pull request as draft December 15, 2021 06:58
@HaniAlshikh
Copy link
Collaborator

HaniAlshikh commented Dec 15, 2021

@jastBytes is it planned to make aggregate type and event type enum? or maybe we could consider this here as well?

@jastBytes
Copy link
Contributor Author

Good point. Would make things easier. Can't remember why I was not going with that approach straight from the start. 🤷

@jastBytes jastBytes removed the chore label Dec 16, 2021
@jastBytes jastBytes added enhancement New feature or request and removed feature labels Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants