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

docs: Update adapter documentation #3249

Merged
merged 1 commit into from
Aug 8, 2023
Merged

Conversation

b-steel
Copy link
Contributor

@b-steel b-steel commented Jul 21, 2023

Summary of Problem

The current knex docs incorrectly refer to mongodb in the knex documentation, they state that the default id is '_id', and they mention the events option which has been deprecated. The mongodb docs similarly mention the deprecated events option.

The common adapters documentation does not have type descriptions for the options while the knex and mongodb docs do.

What did I do

Add /fix type annotation for the common adapter options. Directly copy updated documentation into the knex / mongodb sections so they are exactly the same and mention/link to the other, deprecated options

add type annotation / fix type annotation for the common adapter options.
directly copy updated documentation into the knex / mongodb sections so
they are exactly the same (including now lisitng some options as
deprecated and correctly stating that the default `id` for knex is `'id'`)
@daffl daffl changed the title docs: update adapter documentation docs: Update adapter documentation Aug 8, 2023
@daffl daffl merged commit aea8d1c into feathersjs:dove Aug 8, 2023
2 checks passed
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