Skip to content

fix: remove wrong guard in DialectTranslation#3259

Merged
amokan merged 1 commit intoLogflare:mainfrom
nelsonmestevao:ne/typing
Mar 26, 2026
Merged

fix: remove wrong guard in DialectTranslation#3259
amokan merged 1 commit intoLogflare:mainfrom
nelsonmestevao:ne/typing

Conversation

@nelsonmestevao
Copy link
Copy Markdown
Contributor

No description provided.


# Ensure all identifier values are strings, never null
defp pg_traverse_final_pass({"value" = k, nil}) when is_atom(k) do
defp pg_traverse_final_pass({"value" = k, nil}) do
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hi @amokan, this looks like a small contradiction. Since k is matched with "value", we know for a fact that is a string. Let me know if the original goal was something else 🙏

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Let me revisit this because it is been a while since I've been in these weeds. I'll try my best to get to it tomorrow.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hi @amokan, what do you think? Safe to merge this one?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sorry for the delay @nelsonmestevao . This looks good. I'll get it merged in and thank you!

@nelsonmestevao nelsonmestevao force-pushed the ne/typing branch 11 times, most recently from 9d593c8 to 4bc5988 Compare March 13, 2026 16:59
@nelsonmestevao nelsonmestevao requested a review from amokan March 13, 2026 20:14
@nelsonmestevao nelsonmestevao force-pushed the ne/typing branch 3 times, most recently from 4532bb0 to eede1a4 Compare March 21, 2026 14:34
@nelsonmestevao nelsonmestevao force-pushed the ne/typing branch 3 times, most recently from 367c7a6 to e3aae27 Compare March 26, 2026 11:41

# Ensure all identifier values are strings, never null
defp pg_traverse_final_pass({"value" = k, nil}) when is_atom(k) do
defp pg_traverse_final_pass({"value" = k, nil}) do
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sorry for the delay @nelsonmestevao . This looks good. I'll get it merged in and thank you!

@amokan amokan merged commit 4a5be89 into Logflare:main Mar 26, 2026
10 of 11 checks passed
@nelsonmestevao nelsonmestevao deleted the ne/typing branch March 27, 2026 10:40
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