Z-HUANT opened a new pull request, #2408: URL: https://github.com/apache/incubator-hugegraph/pull/2408
## Purpose of the PR - I have completed Task 13-7. #2245  ## Main Changes Relevant issue:#2255 API:Modified the org.apache.hugegraph.api.graph.EdgeAPI#list interface. When the queried EdgeLabel is not empty, first check if the EdgeLabel exists in the schema (in-memory check). If it does not exist, return early. Gremlin Query:When the EdgeLabel does not exist, it will be detected at HugeGraphStep#makeQuery, and will return early. Therefore, there is no need to optimize the query. ## Verifying these changes <!-- Please pick the proper options below --> - [ ] Trivial rework / code cleanup without any test coverage. (No Need) - [ ] Already covered by existing tests, such as *(please modify tests here)*. - [x] Need tests and can be verified as follows: edge data  GET http://127.0.0.1:8080/graphs/hugegraph/graph/edges?label=test  ## Does this PR potentially affect the following parts? - [ ] Nope - [ ] Dependencies (add/update license info) <!-- Don't forget to add/update the info in "LICENSE" & "NOTICE" files (both in root & dist module) --> - [ ] Modify configurations - [x] The public API - [ ] Other affects (typed here) org.apache.hugegraph.api.graph.EdgeAPI#list ## Documentation Status - [ ] `Doc - TODO` <!-- Your PR changes impact docs and you will update later --> - [ ] `Doc - Done` <!-- Related docs have been already added or updated --> - [x] `Doc - No Need` <!-- Your PR changes don't impact/need docs --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
