Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nestjs/nest
/ posts
Method
posts
sample/22-graphql-prisma/src/posts/posts.resolvers.ts:13–15 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
11
12
@Query(
'posts'
)
13
async
posts(): Promise<Post[]> {
14
return
this.postService.findAll();
15
}
16
17
@Query(
'post'
)
18
async
post(@Args(
'id'
) args: string): Promise<Post> {
Callers
nothing calls this directly
Calls
1
findAll
Method · 0.45
Tested by
no test coverage detected