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!: Make IPathObject styling methods optional #8332

Conversation

shashwatpathak98
Copy link

@shashwatpathak98 shashwatpathak98 commented Jul 12, 2024

The basics

The details

This PR updates the IPathObject Interface to make following methods optional:

  • applyColour
  • setStyle

Fixes #8279

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome! It looks like this is your first pull request in Blockly, so here are a couple of tips:

  • You can find tips about contributing to Blockly and how to validate your changes on our developer site.
  • All contributors must sign the Google Contributor License Agreement (CLA). If the google-cla bot leaves a comment on this PR, make sure you follow the instructions.
  • We use conventional commits to make versioning the package easier. Make sure your commit message is in the proper format or learn how to fix it.
  • If any of the other checks on this PR fail, you can click on them to learn why. It might be that your change caused a test failure, or that you need to double-check the style guide.
    Thank you for opening this PR! A member of the Blockly team will review it soon.

Copy link
Collaborator

@BeksOmega BeksOmega left a comment

Choose a reason for hiding this comment

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

This looks great! Thank you for the fixes =) Once CI passes I'll get this merged.

@BeksOmega BeksOmega changed the title refactor: Make IPathObject styling methods optional refactor!: Make IPathObject styling methods optional Jul 12, 2024
@github-actions github-actions bot added breaking change Used to mark a PR or issue that changes our public APIs. PR: refactor and removed PR: refactor labels Jul 12, 2024
@BeksOmega
Copy link
Collaborator

Future Beka: Before merging please check that this is marked as breaking.

@shashwatpathak98
Copy link
Author

Thank you

@BeksOmega BeksOmega changed the title refactor!: Make IPathObject styling methods optional fix!: Make IPathObject styling methods optional Jul 12, 2024
@github-actions github-actions bot added breaking change Used to mark a PR or issue that changes our public APIs. PR: fix Fixes a bug and removed breaking change Used to mark a PR or issue that changes our public APIs. PR: refactor labels Jul 12, 2024
@BeksOmega BeksOmega merged commit dd18edd into google:rc/v12.0.0 Jul 12, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Used to mark a PR or issue that changes our public APIs. PR: fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants