Skip to content

[v4] Remove unnecessary #format definitions, which returned nil#2233

Merged
joelhawksley merged 1 commit intov4from
no-format-needed
Mar 20, 2025
Merged

[v4] Remove unnecessary #format definitions, which returned nil#2233
joelhawksley merged 1 commit intov4from
no-format-needed

Conversation

@joelhawksley
Copy link
Copy Markdown
Member

What are you trying to accomplish?

This PR looks to close #1973 by removing our definition of #format methods, as:

  1. @seanpdoyle noted they are optional
  2. We were returning nil anyways.

We can always revisit adding them back if needed, which I don't think would be a breaking change.

@joelhawksley joelhawksley changed the title Remove unnecessary #format definitions, which returned nil [v4] Remove unnecessary #format definitions, which returned nil Mar 19, 2025
@joelhawksley joelhawksley marked this pull request as ready for review March 19, 2025 23:01
Copy link
Copy Markdown
Collaborator

@tiagomenegaz tiagomenegaz left a comment

Choose a reason for hiding this comment

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

Approved based on the context provided and the non-breaking changes. Feel free to wait for @BlakeWilliams review if needed.

@joelhawksley joelhawksley merged commit 44f34c6 into v4 Mar 20, 2025
43 of 45 checks passed
@joelhawksley joelhawksley deleted the no-format-needed branch March 20, 2025 17:00
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