You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there and thank you for opening this pull request! 👋🏼
34
+
35
+
We require pull request titles to follow the [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/) and it looks like your proposed title needs to be adjusted.
36
+
37
+
Details:
38
+
39
+
```
40
+
${{ steps.lint_pr_title.outputs.error_message }}
41
+
```
42
+
43
+
# Delete a previous comment when the issue has been resolved
* add support for [@compose](https://github.com/compose)Directive ([#3](https://github.com/mondaycom/apollo-federation-ruby/issues/3)) ([6d7ccf2](https://github.com/mondaycom/apollo-federation-ruby/commit/6d7ccf2e98ead837847ab1b16b44b3b68adbfe84))
* drop old ruby; remove appraisals ([#290](https://github.com/Gusto/apollo-federation-ruby/issues/290)) ([9caa715](https://github.com/Gusto/apollo-federation-ruby/commit/9caa7159b16cf813b23bc067ef2d2b33b06501a2))
Call `policy` within your class definition or pass the `policy:` option to your field definition:
310
+
311
+
```ruby
312
+
classProduct < BaseObject
313
+
policy policies: [["stock:read"]]
314
+
field :id, ID, null:false
315
+
field :inStock, Boolean, null:false, policy: { policies: [["stock:read"]] }
316
+
end
317
+
```
318
+
305
319
### Field set syntax
306
320
307
321
Field sets can be either strings encoded with the Apollo Field Set [syntax]((https://www.apollographql.com/docs/apollo-server/federation/federation-spec/#scalar-_fieldset)) or arrays, hashes and snake case symbols that follow the graphql-ruby conventions:
0 commit comments