Skip to content

Move table DDL up to the top level with keyspaces #50

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

Merged
merged 4 commits into from
Apr 14, 2020

Conversation

mpenick
Copy link
Contributor

@mpenick mpenick commented Apr 10, 2020

No description provided.

@mpenick mpenick force-pushed the refactor_table_ddl branch from 19e4196 to 1e81d3e Compare April 14, 2020 13:42
@mpenick mpenick force-pushed the refactor_table_ddl branch from 18f6b12 to 0314951 Compare April 14, 2020 13:46
@mpenick mpenick marked this pull request as ready for review April 14, 2020 13:46
@mpenick
Copy link
Contributor Author

mpenick commented Apr 14, 2020

Requires: #56

@mpenick
Copy link
Contributor Author

mpenick commented Apr 14, 2020

It's not ideal that stuff schema management stuff is in keyspaces.go. We can change that in the future.

@mpenick mpenick requested a review from jorgebay April 14, 2020 13:49
Copy link
Contributor

@jorgebay jorgebay left a comment

Choose a reason for hiding this comment

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

It's great to have schema management ops outside the normal query/mutation paths.

:shipit:

cmd/server.go Outdated
)

const defaultGraphQLPath = "/graphql"
const defaultGraphQLSchemaPath = "/graphql/__schema"
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this notation inspired in graphql's introspection queries __schema: ...?

Do you prefer it to a complete different root, like /graphql-ddl or /graphql-schema-management?

Copy link
Contributor

Choose a reason for hiding this comment

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

In any case, you can merge it whenever ready.

@mpenick mpenick force-pushed the refactor_table_ddl branch from c9a1be2 to 774dc79 Compare April 14, 2020 15:28
@mpenick mpenick merged commit adf4e9d into master Apr 14, 2020
@mpenick mpenick deleted the refactor_table_ddl branch April 24, 2020 13:29
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