Skip to content

refactor: add factory functions for primitive types #134

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zhjwpku
Copy link
Collaborator

@zhjwpku zhjwpku commented Jun 30, 2025

No description provided.

@zhjwpku
Copy link
Collaborator Author

zhjwpku commented Jun 30, 2025

Before I touch more code, I'd like to hear your thoughts on these factory functions for primitive types. For decimal and fixed types, return a newly created shared_ptr, while for other types, return a singleton instance.

@wgtmac @lidavidm @gty404 @mapleFU

Copy link
Contributor

@gty404 gty404 left a comment

Choose a reason for hiding this comment

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

LGTM

@zhjwpku zhjwpku marked this pull request as ready for review July 1, 2025 13:42
@zhjwpku
Copy link
Collaborator Author

zhjwpku commented Jul 1, 2025

The cpp-linter is failing because the Thrift download step failed. I'd appreciate it if you could help trigger a rerun of the action and also take a moment to review the changes. @Fokko @Xuanwo

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.

5 participants