Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@bleroux
Copy link
Contributor

@bleroux bleroux commented Sep 28, 2023

Description

This PR is a follow-up to #44636 which introduces the set_allow_channel_overflow function. It renames this function to set_warns_on_channel_overflow.

The previous naming was inspired by the framework side implementation.

void allowOverflow(String name, bool allowed) {

During the review of the iOS/macOS implementation, #44848 (comment), we agreed that the existing naming is confusing because it implies that overflow will be allowed, but this not the case this function is used to enable/disable error messages when a channel overflows.

Related Issue

Follow-up for flutter/flutter#132386.

Tests

Updates 2 tests.

Copy link
Contributor

@robert-ancell robert-ancell left a comment

Choose a reason for hiding this comment

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

LGTM

@bleroux bleroux added the autosubmit Merge PR when tree becomes green via auto submit App label Oct 2, 2023
@auto-submit auto-submit bot merged commit f658ab1 into flutter:main Oct 2, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 2, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Oct 2, 2023
Mairramer pushed a commit to Mairramer/flutter that referenced this pull request Oct 10, 2023
harryterkelsen pushed a commit that referenced this pull request Oct 23, 2023
#46360)

## Description

This PR is a follow-up to #44636 which introduces the `set_allow_channel_overflow` function. It renames this function to `set_warns_on_channel_overflow`.

The previous naming was inspired by the framework side implementation.
https://github.com/flutter/engine/blob/93e8901490e78c7ba7e319cce4470d9c6478c6dc/lib/ui/channel_buffers.dart#L574

During the review of the iOS/macOS implementation, #44848 (comment), we agreed that the existing naming is confusing because it implies that overflow will be allowed, but this not the case this function is used to enable/disable error messages when a channel overflows. 

## Related Issue

Follow-up for flutter/flutter#132386.

## Tests

Updates 2 tests.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

affects: desktop autosubmit Merge PR when tree becomes green via auto submit App platform-linux

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants