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: Add "Working with Data" section #2527

Closed
5 tasks
hacksparrow opened this issue Mar 4, 2019 · 3 comments · Fixed by #4970
Closed
5 tasks

Docs: Add "Working with Data" section #2527

hacksparrow opened this issue Mar 4, 2019 · 3 comments · Fixed by #4970
Assignees
Labels
Milestone

Comments

@hacksparrow
Copy link
Contributor

hacksparrow commented Mar 4, 2019

We have enough feature to create the section and content as in the LB3 docs - https://loopback.io/doc/en/lb3/Working-with-data.html.

Acceptance Criteria

Add the Working with data in LB4 docs, as a similar content and structure as https://loopback.io/doc/en/lb3/Working-with-data.html. Make sure the content is correct and relevant to LoopBack 4

  • Working with data
    • Creating, updating and deleting data
    • Querying data (higher priority)
  • Look at Repositories for LB4 and add what's missing from the Working with Data pages from LB3
    • this content will go underneath this section of the page.

Out of scope

The following section is out of scope for this task:

  • Advanced topics: data
@dhmlau dhmlau changed the title Create Docs: Add "Working with Data" section Mar 4, 2019
@dhmlau
Copy link
Member

dhmlau commented Mar 4, 2019

@hacksparrow , could you please review the acceptance criteria below? I intentionally didn't put the advanced topic here, perhaps we can do it incrementally. There's one about socket.io but not sure if it falls under the advanced topic. https://github.com/raymondfeng/loopback4-example-websocket

Acceptance Criteria

Add the Working with data in LB4 docs, as a similar content and structure as https://loopback.io/doc/en/lb3/Working-with-data.html.

  • Working with data
    • Creating, updating and deleting data
    • Querying data
  • For each topic, verify the content is correct (including links and methods) and relevant to LoopBack 4
  • No advanced topics for this version
  • Look at Repositories for LB4 and add what's missing from the Working with Data pages from LB3
    • this content will go underneath this section of the page.

Note some of the content will need to be modified to fit LoopBack 4, such as @emonddr's comment:

This LB3 section https://loopback.io/doc/en/lb3/Working-with-data.html needs to be rewritten for LB4 to discuss the CRUD methods of a repository (instead of a model), and its relationship with controller endpoints.

@bajtos
Copy link
Member

bajtos commented Apr 11, 2019

I intentionally didn't put the advanced topic here, perhaps we can do it incrementally.

+1 to leave advanced topics out of the initial version.

@emonddr
Copy link
Contributor

emonddr commented Apr 11, 2019

This LB3 section https://loopback.io/doc/en/lb3/Working-with-data.html needs to be rewritten for LB4 to discuss the CRUD methods of a repository (instead of a model), and its relationship with controller endpoints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants