[go: nahoru, domu]

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

feat: make ordered argument optional for workspace functions #7424

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

randrei12
Copy link
Contributor

If you're using typescript then you know how frustrating it is to always add ordered param when calling workspace.getAllBlocks()/workspace.getTopBlocks()/workspace.getTopComments()/workspace.getBlocksByType(). That's why I think it's a good idea to make it optional. If a value is not passed, it will use false as default.

@randrei12 randrei12 requested a review from a team as a code owner August 22, 2023 08:45
@github-actions github-actions bot added the PR: feature Adds a feature label Aug 22, 2023
@rachel-fenichel rachel-fenichel merged commit 9310677 into google:develop Aug 22, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: feature Adds a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants