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

Effects for liquidity pools endpoint #35

Merged
merged 8 commits into from
Feb 26, 2024
Merged

Conversation

LeonardTibben
Copy link
Contributor

No description provided.

@LeonardTibben LeonardTibben force-pushed the effects-for-liquidity-pools branch from 963579c to 67f0fe4 Compare February 13, 2024 12:21
src/effects/effects_for_account_request.rs Outdated Show resolved Hide resolved
src/horizon_client.rs Outdated Show resolved Hide resolved
comment test

tests

fixes
@LeonardTibben LeonardTibben force-pushed the effects-for-liquidity-pools branch from bc7e1cd to 501add6 Compare February 13, 2024 14:55
src/effects/effects_for_liquidity_pools_request.rs Outdated Show resolved Hide resolved
src/effects/mod.rs Show resolved Hide resolved
@tluijken tluijken self-requested a review February 26, 2024 10:08
Copy link
Collaborator

@tluijken tluijken left a comment

Choose a reason for hiding this comment

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

I vraag m.b.t. documentatie. Verder ziet het er goed uit!

use crate::BuildQueryParametersExt;

#[derive(Default)]
pub struct EffectsForLiquidityPoolRequest {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ik mis hier nog documentatie rondom de EffectsForLiquidityPoolRequest zelf.

Net als bij SingleAccountRequest<I>, zie je dat Eline niet alleen documentatie heeft toegevoegd, maar ook referenties naar de Horizon API Endpoint, code examples die getest worden met cargo test (doctest).

Dit zou eigenlijk standaard voor alle publieke structs moeten zijn.

Zo mis ik dit ook voor EffectsForAccountRequest bijv. Zit niet in deze PR, maar mag er wel bij wat mij betreft.

@tluijken tluijken merged commit 6880376 into develop Feb 26, 2024
2 checks passed
@tluijken tluijken deleted the effects-for-liquidity-pools branch February 26, 2024 10:43
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.

3 participants