Skip to content

[JDA 6] Make components serializable (again) #2861

Description

@freya022

General Troubleshooting

  • I have checked for similar issues on the Issue-tracker.
  • I have updated to the latest JDA version
  • I have checked the branches or the maintainers' PRs for upcoming features.

Feature Request

In an effort to automatically add attachments from components with FileUploads, 137a66a from #2809 has removed the ability to serialize components.

The serialization of a component extracted from a message did not represent what it is anymore. It instead serialized a component that is about to be sent, rather than serializing what it is.

Relevant conversation: https://discord.com/channels/125227483518861312/1343090348187979816/1388816343293235332

Example Use-Case

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions