-
Notifications
You must be signed in to change notification settings - Fork 43
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
Clarify handling of use_trampoline
in sdk-common
structs
#1081
Comments
use_tranpoline
in sdk-common
structsuse_trampoline
in sdk-common
structs
Is it possible to have |
IMO the feature flag in |
I don't think so, as |
Is it? I can't find it. |
There might be another option here too. |
You're right, Then your idea could well work. The GL SDK repo |
I think the whole problem is that the udl interface has leaked into the sdk-common. We should leave there only "business-logic" or business models. |
With udl definitions you mean the rust structs that are also defined in the udl? (asking because the udl file is still in sdk-bindings) |
Despite being more error-prone than your suggestions, the current approach of using feature flags— I am not sure if this is worth doubling the work over, we can add validation tests for I'm open to any solutions that does not double the work managing these structs. |
I am referring to the fact that the |
There is one struct in particular that uses this behind a feature flag:
breez-sdk-greenlight/libs/sdk-common/src/lnurl/specs/pay.rs
Lines 128 to 147 in 1298055
Question:
sdk-common
remove theliquid
feature flag and instead only contain truly common structs and code?LnUrlPayRequestWithTranpoline
(or similar) in the GL SDK repo?Let's discuss below.
The text was updated successfully, but these errors were encountered: