-
Notifications
You must be signed in to change notification settings - Fork 87
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
Added ApplicationConfiguration #306
Conversation
46bdc2b
to
9ed782c
Compare
b2aa01f
to
a197109
Compare
9ed782c
to
59295b4
Compare
cd97306
to
6110de1
Compare
3898911
to
b255c3a
Compare
6110de1
to
db37e05
Compare
b255c3a
to
435e484
Compare
db37e05
to
d7207d9
Compare
Will rebase on master once current base is merged |
435e484
to
0bad285
Compare
d7207d9
to
89087ec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR looks fine, but I'm not sure I understand why we're only implementing the configuration halfway? As far as I can tell, we're missing the 3 metadata properties - base path, encryption key, and persistence mode. Those are just primitive types, so unless there's a strong argument against, I'd suggest we just add them.
As is, I only included the properties that are exposed with I like the idea of combining them into |
To create an app we need both an app config and sync client config. Even though they are split in the C API there's no reason to split them in the SDK API and I believe every SDK exposes them on the app config object. |
0bad285
to
0aca18c
Compare
89087ec
to
d1f24b8
Compare
Updated PR as suggested |
0aca18c
to
8b4e5e5
Compare
0bba38e
to
251229d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some docs comments + we seem to be missing the method to create sync config handle.
48346b1
to
68d63f4
Compare
07270f6
to
c293770
Compare
68d63f4
to
e7955bd
Compare
c293770
to
c5d5eff
Compare
e7955bd
to
3a14d73
Compare
c5d5eff
to
8e62aa4
Compare
3a14d73
to
c6bbc92
Compare
…hat will keep the corresponding dart object alive.
…ue on isolate shutdown: dart-lang/sdk#48321
8e62aa4
to
6899dc8
Compare
c6bbc92
to
73e2e4c
Compare
Implement ApplicationConfiguration basic properties like: base url, local app name, local app version, default timeout, platform, platform version, sdk version. Fixes #401