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

Mark all pub types #[non_exhaustive] #47

Merged
merged 1 commit into from
Mar 14, 2022
Merged

Conversation

sd2k
Copy link
Collaborator

@sd2k sd2k commented Mar 12, 2022

More fields or variants could be added to Grafana at any time, and we'd
need to release a new minor version without these structs/enums
being marked #[non_exhaustive]. This does unfortunately make the
API a bit less convenient to use unless we provide with_x methods
all over the place, which we could always do later.

This follows on from #34 but applies to the data module instead of the backend one.

More fields could be added to Grafana at any time, and we'd
need to release a new minor version without these structs/enums
being marked #[non_exhaustive]. This does unfortunately make the
API a bit less convenient to use unless we provide 'with_x' methods
all over the place, which we could always do later.
@sd2k sd2k merged commit 07dc633 into main Mar 14, 2022
@sd2k sd2k deleted the non-exhaustive-pub-types branch March 14, 2022 18:33
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.

None yet

1 participant