hasura / hasura/graphql-engine

ELSIF in sql editor isn't color highlighted

Open
#8,648 0 comments 0 reactions 0 assignees View on GitHub
k/enhancement
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

(quick searching for "ELSIF" didn't showed existing issues, so I hope this is not double post)
(hasura version I used - 2.8.1)
very simple:
in provided RAW SQL editor when writing pgplsql function I noted that ELSIF wasn't highlighted as proper syntax, which is a bit confusing.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the provided RAW SQL editor with a PL/pgSQL function containing ELSIF, using Hasura 2.8.1 as the reported reference. Trace the editor's SQL syntax-highlighting behavior and verify that ELSIF receives the appropriate syntax color without affecting other highlighting.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.