awslabs / awslabs/aws-mobile-appsync-sdk-android
UUID type not working
Open
bug
- Dominant language
- Java
- Stars
- 106
- Forks
- 56
- PR merge metrics
- No merged PRs in 30d
Description
Look at the following query:
```
query GetBookByID($id:uuid!) {
getBook(id:$id) {
id
title
author
}
}
```
When you build the project the generated class should have 'id' variable of type "UUID" but instead it is defined as "Uuid" and hence an error is thrown.
Contributor guide
Research direction
Start by reproducing the build with the shown GetBookByID query and inspect the generated class for the id field. Trace the UUID/Uuid type mapping in the code-generation entry point, then verify that the generated field uses UUID and the project builds successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, graphql, java
- Domain
- api, mobile, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100