-
Notifications
You must be signed in to change notification settings - Fork 24
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
UpdateFragment/ ListFragments - add visibility parameter #245
Conversation
piokasar
commented
Jul 15, 2024
•
edited
Loading
edited
- Added optional fragmentVisibility list in listFragments
- Added optional fragmentVisibility in updateFragment
980fc35
to
9567f81
Compare
41427b7
to
97ba780
Compare
97ba780
to
347e257
Compare
lib/src/app/app.dart
Outdated
Future<List<Fragment>> listFragments(String organizationId, bool showPublic) async { | ||
final request = ListFragmentsRequest() | ||
Future<List<Fragment>> listFragments(String organizationId, bool showPublic, {List<FragmentVisibility>? fragmentVisibility}) async { | ||
final request = ListFragmentsRequest(fragmentVisibility: fragmentVisibility) |
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.
Can you please switch this to the ..fragmentVisiblity = fragmentVisibility
syntax like the other options?
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.
changed !
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.
ok, actually should be good to go now - had to use addAll since it's an iterable
1251efb
to
3916636
Compare
3916636
to
eb2d9f3
Compare
eb2d9f3
to
2feec74
Compare