Repository navigation
feat: Flutter SDK update for version 27.1.0-rc.0 - #333
Conversation
🔵 Tier A · Mergeable after minor fixes
Updates the Flutter SDK to 27.1.0-rc.0 with Apps and OAuth2 services and models, MQTT-based Push, an Android native plugin, and a Topic builder. Adds profile-photo APIs, extends session and list APIs, and updates transports, examples, and tests. The latest documentation changes clarify Android setup and qualify response models in examples. Latest changes: The newest commits document Android API 24 and notification permission requirements, add model imports and aliases across examples, and fix the photo response type and literal document ID key.
Fix with agent prompt### Issue 1
docs/examples/graphql/query.md:11
**Use an inferred type for the GraphQL response**
`models.dart` defines no `Any` type, so this example and `graphql/mutation.md` still fail to compile. Both methods return raw response data; use `final result` rather than `models.Any`.
```suggestion
final result = await graphql.query(
```
### Issue 2
docs/examples/oauth2/logout.md:10
**Remove the model prefix from untyped OAuth2 responses**
`models. result` is an assignment to an undefined `models` object, not a result declaration, so this example cannot compile. The same change appears in `logout-post.md` and `revoke.md`; use `final result` for these raw-response methods.
```suggestion
final result = await oauth2.logout(
```
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.📂 Walkthrough · 13
✅ Fixed since the last review · 3
Reviewed the commits since |
|
|
||
| Any result = await graphql.query( | ||
| query: {}, | ||
| models.Any result = await graphql.query( |
There was a problem hiding this comment.
Use an inferred type for the GraphQL response
models.dart defines no Any type, so this example and graphql/mutation.md still fail to compile. Both methods return raw response data; use final result rather than models.Any.
| models.Any result = await graphql.query( | |
| final result = await graphql.query( |
Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/examples/graphql/query.md
Line: 11
Comment:
**Use an inferred type for the GraphQL response**
`models.dart` defines no `Any` type, so this example and `graphql/mutation.md` still fail to compile. Both methods return raw response data; use `final result` rather than `models.Any`.
```suggestion
final result = await graphql.query(
```
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.🟡 Minor · documentation · Reply if this doesn't apply.
|
|
||
| Oauth2 oauth2 = Oauth2(client); | ||
|
|
||
| models. result = await oauth2.logout( |
There was a problem hiding this comment.
Remove the model prefix from untyped OAuth2 responses
models. result is an assignment to an undefined models object, not a result declaration, so this example cannot compile. The same change appears in logout-post.md and revoke.md; use final result for these raw-response methods.
| models. result = await oauth2.logout( | |
| final result = await oauth2.logout( |
Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/examples/oauth2/logout.md
Line: 10
Comment:
**Remove the model prefix from untyped OAuth2 responses**
`models. result` is an assignment to an undefined `models` object, not a result declaration, so this example cannot compile. The same change appears in `logout-post.md` and `revoke.md`; use `final result` for these raw-response methods.
```suggestion
final result = await oauth2.logout(
```
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.🟡 Minor · documentation · Reply if this doesn't apply.
This PR contains updates to the Flutter SDK for version 27.1.0-rc.0.