Skip to content

Commit

Permalink
Remove to_s from union unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
alextwoods committed Jul 31, 2024
1 parent 480b947 commit 496b075
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
16 changes: 0 additions & 16 deletions codegen/projections/rails_json/lib/rails_json/types.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions codegen/projections/white_label/lib/white_label/types.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@ public void render() {
.openBlock("def to_h")
.write("{ unknown: super(__getobj__) }")
.closeBlock("end")
.write("")
.openBlock("def to_s")
.write("\"#<$L::Types::Unknown #{__getobj__ || 'nil'}>\"", settings.getModule())
.closeBlock("end")
.closeBlock("end")
.closeBlock("end\n");
});
Expand Down

0 comments on commit 496b075

Please sign in to comment.