Skip to content
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

Implement LiteralUnion for Extension #434

Merged
merged 1 commit into from
May 27, 2019
Merged

Implement LiteralUnion for Extension #434

merged 1 commit into from
May 27, 2019

Conversation

Shinigami92
Copy link
Collaborator

This PR improves the DX for the following functions:

  • createExtension
  • addExtension
  • dropExtension

If the developer presses CTRL + spacebar, s/he will automatically be completed for all known extensions found at https://www.postgresql.org/docs/current/contrib.html

The LiteralUnion is a hack for TypeScript, as currently (TS v3.4.5) a union literal and a string can not be processed to autocomplete and also provide an unknown string.
More can be found here: microsoft/TypeScript#29729 (comment)

Example-Screenshot

Unbenannt

@dolezel dolezel merged commit acabb54 into salsita:master May 27, 2019
@Shinigami92 Shinigami92 deleted the feature/improve-extension-with-union-literal branch May 27, 2019 07:01
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