loopbackio / loopbackio/loopback-connector-sqlite3

Loopback 4: HasManyThrough-Relation is not working

未关闭
#46 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@achrinza 已经在做这个了。

开始于 2022年1月22日。

backlog bug
主要语言
JavaScript
星标
13
派生
21
PR 合并指标
30 天内没有已合并 PR

描述

Bug or feature request
  • Bug
  • Feature request
Description of feature (or steps to reproduce if bug)

The HasManyThrough-Relation is not working properly.
Using the lb4 wizard I recreated the example

Link to sample repo to reproduce issue (if bug)

https://github.com/I3igI3uilder/example_sqlite_connector_bug/tree/main/src_not_working

Actual result (if bug)
  • If you query for example with "http://localhost:3000/doctors/3/patients", it will give back all patients, not only the ones for doctor 3.
  • If you e.g. try to include the patients in the doctors query, it will not result in an error, but it will also just ignore the inclusion.
  • I have tested this with the memory connector and the postgres connector. Those two work properly.
Additional information (Node.js version, LoopBack version, etc)
Node Version: 14.15.1
OS: Windows

"@loopback/boot": "^4.0.1",
"@loopback/core": "^3.0.1",
"@loopback/repository": "^4.0.1",
"loopback-connector-sqlite3": "^3.0.0",

I would like to help fixing this, but this is beyound my reach.
Thank you for this great project.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。