Skip to content

AB#561 - Add waltti-alt#68

Merged
optionsome merged 6 commits intomasterfrom
add-waltti-alt
May 5, 2026
Merged

AB#561 - Add waltti-alt#68
optionsome merged 6 commits intomasterfrom
add-waltti-alt

Conversation

@VillePihlava
Copy link
Copy Markdown
Contributor

@VillePihlava VillePihlava commented May 4, 2026

Changes:

  • Add waltti-alt
  • Remove unnecessary double URL encoding
  • Remove operationName (if two queries with operationNames are present, the run button opens a select view)
image
  • Add support for headers in query parameters
  • Change endpoint and API type logic
    • API type now always in URL never in local state
    • Endpoints can always be changed
    • API type uses the last one used OR finds a dev or prod endpoint
    • Added a test that requires either a dev or prod endpoint to be defined for all configs
    • example URL:
http://localhost:8080/graphiql/hsl/v2/gtfs/v1?urlVersion=2&apiType=dev&query=query+TestQuery+%28%24stopId%3A+String%21%29+%7B%0D%0A++stop%28id%3A+%24stopId%29+%7B%0D%0A++++name%0D%0A++++lat%0D%0A++++lon%0D%0A++++stoptimesWithoutPatterns+%7B%0D%0A++++scheduledArrival%0D%0A++++++trip+%7B%0D%0A++++++++route+%7B%0D%0A++++++++shortName%0D%0A++++++++%7D%0D%0A++++++%7D%0D%0A++++%7D%0D%0A++%7D%0D%0A%7D&variables=%7B%0D%0A++%22stopId%22%3A+%22HSL%3A1140447%22%0D%0A%7D
  • Moved tests to separate folder
  • Support for legacy double-encoded URLs
  • Fallback to local storage active tab query data when URL does not contain query data

@optionsome optionsome merged commit 936fca8 into master May 5, 2026
2 checks passed
@optionsome optionsome deleted the add-waltti-alt branch May 5, 2026 12:45
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