Skip to content

Commit dde843d

Browse files
committed
Add serialization docs PR request note for conditional attributes
1 parent 2f74dd9 commit dde843d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/general/serializers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Serialization of the resource `title`
3434
| `attribute :title { 'A Different Title'}` | `{ title: 'A Different Title' } `
3535
| `attribute :title`<br>`def title 'A Different Title' end` | `{ title: 'A Different Title' }`
3636

37+
[PR please for conditional attributes:)](https://github.com/rails-api/active_model_serializers/pull/1403)
38+
3739
### Associations
3840

3941
#### ::has_one

0 commit comments

Comments
 (0)