microsoft / spring-data-gremlin

We are in the process of deprecating Spring Data Gremlin. -- Provide generic annotation oriented programming form based on gremlin for graph database
Other
129 stars 76 forks source link

Support @Query annotation for executing Custom Queries #248

Closed Tin-Nguyen closed 3 years ago

Tin-Nguyen commented 5 years ago

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

Steps to Reproduce (for bugs)

Your Environment

superrdean commented 5 years ago

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

gguttikonda commented 4 years ago

fyi: We attempted implementing this and here is the PR https://github.com/microsoft/spring-data-gremlin/pull/255

gguttikonda commented 4 years ago

A PR(https://github.com/microsoft/spring-data-gremlin/pull/255) is already created for this and it's currently waiting to be reviewed and merged.

On Mon, Nov 25, 2019 at 4:05 AM Prajyot1712 notifications@github.com wrote:

@gguttikonda https://github.com/gguttikonda when will this be available to be used?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/microsoft/spring-data-gremlin/issues/248?email_source=notifications&email_token=AAJ3MZRSQBUYG6CLIQFZLMLQVO5RZA5CNFSM4I4C72RKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFCFJYA#issuecomment-558126304, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ3MZTDC2DNLVDUTF7KTM3QVO5RZANCNFSM4I4C72RA .

slashphi commented 4 years ago

@neuqlz is there a plan to accept the PR?

badalrocks commented 4 years ago

Can this PR be merged?

MariaLapovska commented 3 years ago

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

chenrujun commented 3 years ago

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