# カスタムフィールドのタグ付け？

**URL:** <https://meta.discourse.org/t/tag-custom-fields/297798>\
**Category:** Development\
**Created:** [2024 年 3 月 4 日午後 12:50 UTC](https://meta.discourse.org/t/tag-custom-fields/297798 "2024-03-04T12:50:30Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [2024 年 3 月 4 日午後 12:50 UTC](https://meta.discourse.org/t/tag-custom-fields/297798/1 "2024-03-04T12:50:30Z")

</div>

Tags に ActivityPub サポートを追加する方法、つまり Tags を ActivityPub アクターとして許可する方法を計画しています。ActivityPub サポートを備えたモデルには、レコード固有のカスタムストレージが必要です。これを実現する 1 つの方法は、カスタムフィールドを使用することです。たとえば、

> <https://github.com/discourse/discourse-activity-pub/blob/main/plugin.rb#L143>

同じ結果を達成するための他の方法もありますが、カスタムフィールドはおそらく最も簡単な方法であり、ActivityPub プラグインと、おそらく Discourse 自体の両方のデータモデルと最も一貫性があるでしょう。

そのため、まず Tags にカスタムフィールド サポートを追加することへの関心を測りたいと思います。これについては、discourse/discourse に PR を作成できます。

cc @pmusaraj

---

_[View the full topic](https://meta.discourse.org/t/tag-custom-fields/297798)._
