Skip to content

Replace int Streamtype property with enum#13

Merged
glopesdev merged 2 commits intobonsai-rx:mainfrom
FeeLab:11-consider-replacing-integer-settings-with-enum-properties
Nov 23, 2025
Merged

Replace int Streamtype property with enum#13
glopesdev merged 2 commits intobonsai-rx:mainfrom
FeeLab:11-consider-replacing-integer-settings-with-enum-properties

Conversation

@J-M-White
Copy link
Collaborator

@J-M-White J-M-White commented Nov 21, 2025

As mentioned in #11, it would be nice to use an enum instead of ints for the StreamType property of Fetch.

Here, we make the StreamType for this. We also update the Fetch example workflows accordingly.

Closes #11

Make StreamType enum in Fetch.cs and update stream type property to use it.
Update Fetch examples accordingly.
@J-M-White J-M-White requested a review from glopesdev November 21, 2025 22:39
@glopesdev glopesdev self-requested a review November 23, 2025 10:29
@glopesdev glopesdev merged commit 5aef9b1 into bonsai-rx:main Nov 23, 2025
10 checks passed
@J-M-White J-M-White deleted the 11-consider-replacing-integer-settings-with-enum-properties branch November 28, 2025 15:57
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.

Consider replacing integer settings with enum properties

2 participants