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

chore: Update SubaccountPosition fields to be non-nullable. #352

Merged
merged 1 commit into from
May 14, 2024

Conversation

prashanDYDX
Copy link
Contributor

No description provided.

@@ -228,31 +228,31 @@ data class SubaccountPosition(
val id: String,
val assetId: String,
val side: TradeStatesWithPositionSides,
val entryPrice: TradeStatesWithDoubleValues?,
val entryPrice: TradeStatesWithDoubleValues,
val exitPrice: Double?,
val createdAtMilliseconds: Double?,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It feels like this field should always be populated, but not sure if there is a case where it wouldn't be.

@prashanDYDX prashanDYDX force-pushed the prashan/subaccountposition-nullability branch 2 times, most recently from e674404 to 9ae0456 Compare May 13, 2024 23:05
@prashanDYDX prashanDYDX force-pushed the prashan/subaccountposition-nullability branch from 9ae0456 to 91f17f3 Compare May 13, 2024 23:32
@prashanDYDX prashanDYDX merged commit 6435d95 into main May 14, 2024
3 checks passed
@prashanDYDX prashanDYDX deleted the prashan/subaccountposition-nullability branch May 14, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants