Skip to content

Update REAMDE.md: Misleading example correction.#214

Open
Yadu Nandan (Y-D-U) wants to merge 2 commits into
getindata:mainfrom
Y-D-U:main
Open

Update REAMDE.md: Misleading example correction.#214
Yadu Nandan (Y-D-U) wants to merge 2 commits into
getindata:mainfrom
Y-D-U:main

Conversation

@Y-D-U
Copy link
Copy Markdown

Description

While referring the doc on instructions, found a misleading example. Correction might prove useful here for other users

While using this connector, went into the corrected example and found it misleading. Will be useful if corrected
Update README.md: Misleading Example Correction
Comment thread README.md
For Example:
``
http://localhost:8080/client/service?id=1&uuid=2
http://localhost:8080/client/service?id=1&id=2
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for noticing the error!

The example above has join condition o.id = c.id AND o.id2 = c.id2 so I guess it should be:

http://localhost:8080/client/service?id=1&id2=2

and

{
    "id": "1",
    "id2": "2"
}

What do you think?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, same thoughts. That's what I have changed

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what I have changed

I mean you provided id twice. I believe there should be id and id2.

Comment thread README.md
{
"id": "1",
"uuid": "2"
"id": "2"
Copy link
Copy Markdown
Contributor

@davidradl David Radley (davidradl) Feb 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not correct - there should not be 2 json fields of the same name. In line with the other review you need "id2": "2" here

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.

3 participants