Skip to content
This repository has been archived by the owner on Apr 16, 2022. It is now read-only.

Support @Query annotation for executing Custom Queries #248

Closed
Tin-Nguyen opened this issue Oct 1, 2019 · 7 comments · May be fixed by #255
Closed

Support @Query annotation for executing Custom Queries #248

Tin-Nguyen opened this issue Oct 1, 2019 · 7 comments · May be fixed by #255
Labels
azure-spring gremlin New feature New feature, and need peer review

Comments

@Tin-Nguyen
Copy link

Expected Behavior

@Repository
public interface TodoRepository extends GremlinRepository<ToDo, String> {
 
    @Query("g.V().has(label, 'TODO').has(id, :id)") 
    String findTitleById(@Param("id") Long id);
}

Current Behavior

Possible Solution

  • I might create a PR soon

Steps to Reproduce (for bugs)

  • Not a bug, this is a suggestion

Your Environment

  • Version used:
  • Operating System and version (desktop or mobile):
  • SDK version:
@superrdean superrdean added the New feature New feature, and need peer review label Oct 9, 2019
@superrdean superrdean self-assigned this Oct 9, 2019
@superrdean
Copy link
Contributor

thanks for your feedback, we will inspect it and give you a response later.

@superrdean superrdean removed their assignment Nov 12, 2019
@gguttikonda
Copy link
Contributor

fyi: We attempted implementing this and here is the PR #255

@gguttikonda gguttikonda mentioned this issue Nov 13, 2019
1 task
@gguttikonda
Copy link
Contributor

gguttikonda commented Nov 25, 2019 via email

@slashphi
Copy link

@neuqlz is there a plan to accept the PR?

@badalrocks
Copy link

Can this PR be merged?

@MariaLapovska
Copy link

Hi guys, this feature would be very useful, are you planning on releasing it? Since the code is already there

@chenrujun
Copy link

Closing this issue.
Because it's not active for a long time.
If anyone have similar issue, please create issue in new repo: https://github.com/Azure/azure-sdk-for-java/issues

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
azure-spring gremlin New feature New feature, and need peer review
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants