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

Conversation

janpio
Copy link
Contributor

@janpio janpio commented Sep 17, 2019

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
* 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
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?

- 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
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)

### Current


### Future 👽
Copy link
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
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