Skip to content
This repository was archived by the owner on Oct 21, 2020. It is now read-only.

Introspection spec - #153

Draft
janpio wants to merge 18 commits into
masterfrom
introspection
Draft

janpio wants to merge 18 commits into
masterfrom
introspection

Conversation

@janpio

@janpio janpio commented Sep 17, 2019 •

Copy link
Copy Markdown
Contributor

This PR creates a basic spec for Introspection, based on what we currently have and what we are building right now.

@janpio janpio changed the title Introspection Introspection spec Sep 17, 2019
Comment thread introspection/README.md Outdated
* The introspection connector takes that db-schema representation and converts it into Prismas internal datamodel representation
* The internal datamodel representation gets rendered into the Prisma schema

The formats for the connection strings are discussed in the schema spec. https://github.com/prisma/specs/blob/master/schema/Readme.md

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Can we link to the specific headline?

Comment thread introspection/README.md Outdated
- Spec: In Progress 🚧
- Implementation: Unknown ❔

When a user gets started with Prisma in a brownfield project, they can let Prisma introspect their database to generate the initial Prisma data model definition.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We actually "require" this introduction summary sentence - so we should come up with something more generalized about "Introspection" in the Prisma context. (Matt might have something liek that already in his Prisma framework PR)

Comment thread introspection/README.md Outdated
### Current


### Future 👽

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The idea about these headlines was to describe the existing JS/TS implementation and then the "new" Rust based one - maybe this is not useful any more.

@janpio janpio added kind/spec Something about an actual spec (file) spec/new A new spec should be created labels Oct 9, 2019

This branch has not been deployed

No deployments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area/introspection kind/spec Something about an actual spec (file) spec/new A new spec should be created

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants