-
Notifications
You must be signed in to change notification settings - Fork 170
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
Invalid links can be generated when not selecting all the tables #223
Comments
@palucki Thank you for your report ! Could you provide following information ?
|
@k1LoW I've updated the original post to include requested data. |
Thank you !! |
Unfortunately it looks like the issue is still there or I am misunderstanding something.
However my output still have;
Also is it possible to specify only |
@palucki Oh! I got it ! |
I'll test as soon as the new release is ready.
generate relations only between the included tables? |
v1.37.2 Released. Could you test this ?
Yes. ( see https://github.com/k1LoW/tbls#filter-tables diagram ) |
@k1LoW , yes, the issue is fixed in 1.37.2 and this item can be closed! I've got another question (didn't find it in docs). How are child tables generated?
table A has the tables B and C as children (on Example output for table_A
They are not connected in db in that way. |
@palucki Thank you for your report !
Is it an ER diagram like the one below?
You'll need to provide what you expected to happed. |
I see my post can be misleading, sorry for that. Let me explain: So in the output from This is incorrect. Expected output is that table A, B, C are not in any relation. Edit: I've tried to reproduce that usiung some minimal example, but for such a setup the output is correct. So let's close this item and I will open another one if I am able to easily reproduce my issue. |
fmfm.
OK!! Thanks for the feedback ! 👍 👍 |
What happened
Suppose you have tables A, B, and C.
both A and B point to table C.
If we specify to generate docs only for tables A and B, the link in theese pointing to non existing table C documentation will be generated.
What you expected to happed
Should not create a link to avoid user errors when browsing generated output.
A switch not to generate links at all can do the job as well.
Environment
The text was updated successfully, but these errors were encountered: