Skip to content
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

fix: minor types fix #4152

Closed
wants to merge 1 commit into from
Closed

Conversation

stuartwdouglas
Copy link
Collaborator

No description provided.

@stuartwdouglas stuartwdouglas requested review from a team and alecthomas as code owners January 22, 2025 06:21
@stuartwdouglas stuartwdouglas force-pushed the stuartwdouglas/minor-docs branch from 915014a to 95cc7ca Compare January 22, 2025 06:21
This was referenced Jan 22, 2025
| FTL | Go | Kotlin | Java |
|:-------------------|:-----------------------------|:-----------------------------|:-----------------------------|
| `Int` | `int` | `Long` | `long` |
| `optional[Int]` | `ftl.Optional[int]` | `Long?` | `Long` |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI FTL represents optional with a ?, exactly like Kotlin.

I think given that 99% of these optionals are uniform, except for Java, maybe it's better to just call out how Java is different in the "Optional" section?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a new column instead? Java (optional)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have updated the table, and added some additional notes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants