Skip to content

Notifications Fix#495

Merged
jhweir merged 4 commits intodevfrom
notifications-fix
Jun 24, 2024
Merged

Notifications Fix#495
jhweir merged 4 commits intodevfrom
notifications-fix

Conversation

@lucksus
Copy link
Member

@lucksus lucksus commented Jun 20, 2024

Flux escapes apostrophes "'" with a backslash "'" which is not a valid JSON escape sequence. We have handcrafted code that turns Prolog results into JSON. With these "'" it failed to produce valid JSON. This fixes that.

@lucksus lucksus requested a review from fayeed June 20, 2024 14:38
fayeed
fayeed previously approved these changes Jun 21, 2024
@lucksus lucksus requested a review from fayeed June 21, 2024 08:30
@jhweir jhweir self-requested a review June 24, 2024 12:26
Copy link
Contributor

@jhweir jhweir left a comment

Choose a reason for hiding this comment

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

ChatGPT's nitpicking suggests it would be would be more "idiomatic and concise" to use &wrapped_s and &fixed_s instead of wrapped_s.as_str() and fixed_s.as_str() on lines 16 and 21 of rust-executor/src/perspectives/utils.rs, otherwise looks good XD

@lucksus lucksus requested review from jhweir June 24, 2024 14:10
@jhweir jhweir merged commit d6308a4 into dev Jun 24, 2024
@lucksus lucksus deleted the notifications-fix branch August 22, 2025 12:19
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.

3 participants