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

feat: add a few new types #62

Merged
merged 13 commits into from
Oct 13, 2024
Merged

feat: add a few new types #62

merged 13 commits into from
Oct 13, 2024

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Oct 12, 2024

Adds a few types from endpoints/topics we don't support yet. Additionally, it fixes a few rust/clippy warnings.

I didn't add a GameId (e.g. in Get Game Analytics) since I'm not sure if that's the same as a category [?] (but seems to be different...).

@Nerixyz Nerixyz force-pushed the feat/more-types branch 2 times, most recently from 99158a8 to 7c52f8c Compare October 12, 2024 21:52
Copy link
Member

@Emilgardis Emilgardis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. I have one concern about the use of plural however, not entirely convinced the alternative (dropping the s) is more correct

src/stream.rs Outdated Show resolved Hide resolved
Cargo.toml Outdated
Comment on lines 39 to 46
entitlements = []
moderation = ["serde"]
points = ["serde"]
stream = ["serde"]
timestamp = []
user = ["serde"]
goal = ["serde"]
extensions = []
Copy link
Member

@Emilgardis Emilgardis Oct 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should entitlements and extensions be plural or singular?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Granted everything else except points is singular, I think they should be singular as well (diff).

@Nerixyz Nerixyz added this pull request to the merge queue Oct 13, 2024
Merged via the queue into twitch-rs:main with commit 755eafa Oct 13, 2024
15 checks passed
@Nerixyz Nerixyz deleted the feat/more-types branch October 13, 2024 10:32
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.

2 participants