Skip to content

postgrestools init config JSON schema URL results in 404 #319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
codybrom opened this issue Apr 6, 2025 · 1 comment · Fixed by #339
Closed
2 tasks done

postgrestools init config JSON schema URL results in 404 #319

codybrom opened this issue Apr 6, 2025 · 1 comment · Fixed by #339
Assignees
Labels
bug Something isn't working

Comments

@codybrom
Copy link

codybrom commented Apr 6, 2025

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

I just created my first Postgres Language Server configuration file using the CLI and it created a configuration file that listed "https://pgtools.dev/schemas/0.3.1/schema.json" as the JSON Schema URL. Unfortunately, this URL results in a 404.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Install the latest postgrestools CLI via NPM
  2. Run postgrestools init
  3. See error in generated output

Expected behavior

I had expected the Schema URL to exist.

Screenshots

Image

System information

  • OS: macOS
  • IDE: VS Code
  • Package Manager: Yarn
@codybrom codybrom added the bug Something isn't working label Apr 6, 2025
@codybrom
Copy link
Author

codybrom commented Apr 6, 2025

How I temporarily fixed the issue in my config was to change 0.3.1 in the URL to latest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants