Skip to content

Commit

Permalink
Add API resolver properties back (#6537)
Browse files Browse the repository at this point in the history
  • Loading branch information
begelundmuller committed Jan 30, 2025
1 parent 32858d7 commit d90b86c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions runtime/server/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@ func (s *Server) apiHandler(w http.ResponseWriter, req *http.Request) error {

// Resolve the API to JSON data
res, err := s.runtime.Resolve(ctx, &runtime.ResolveOptions{
InstanceID: instanceID,
Resolver: api.Spec.Resolver,
Args: args,
Claims: claims,
InstanceID: instanceID,
Resolver: api.Spec.Resolver,
ResolverProperties: api.Spec.ResolverProperties.AsMap(),
Args: args,
Claims: claims,
})
if err != nil {
return httputil.Error(http.StatusBadRequest, err)
Expand Down

1 comment on commit d90b86c

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://ui.rilldata.com as production
🚀 Deployed on https://679ba2eeee29dc6a3f6663a5--rill-ui.netlify.app

Please sign in to comment.