Closed Bartman0 closed 1 year ago
I looked at the diffs, that is a lot. Hence need some help.
Suggestions? Clarifications?
I closed the pull request, because I didn't intend to target your repo. I clicked too fast when creating the PR. I agree, this is a fundamental change and should not be incorporated in your repo.
You might want to have a look at the parsing code. I fixed a bug in BinaryExpression (should have IBooleanExpression too), and the charAt() in the group parsing should be a get() call.
protected void parse(CharBuffer in) throws ODataException {
while (in.hasRemaining() && in.get(in.position()) != ')') {
super.parse(in);
}
group = (IBooleanExpression) stack.pop();
}
Salesforce uses grouping in their requests a lot, and that resulted in indexing and parsing errors.
I can only close this pull request. Is there a way to abandon it? I can't find it, but I am more familiar with gitlab and Azure DevOps.
sorry, another comment. I also added test cases for that grouping parsing that you may want to cherry pick.
But you are okay if I try to merge your code? The idea would be that we do everything OData related here including environment variables and you can then build the container with just picking the library?
yes, of course.
that approach would be wise to follow things going forward.
I have made the following changes:
odata/tables/schema/tablename/
endpoint and it exposes a single table, the named table, and the entityset name is RS. Otherwise the url is schemaname/tablename/tablename which does not look nice.odata/schemas/schemaname/
which is one endpoint with all tables in it. This is using your naming for entity sets, namespaces etcNext I will test if all works for me still.
production version