Make a generic event Transformer class #11
Labels
No milestone
No project
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Event-Federation/wordpress-event-bridge-for-activitypub#11
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Many tasks and function are quite similar across all event transformers, unify them, so that writing a new transformer becomes even easier.
more information about features for a generic transformer in #12
and a bug thats connected to that in #13
@ruru4143 I saw your draft at (maybe it is best for us to always good to start a draft PR immediately)
66f3d83f57 (diff-f28a69473c981b6684a17ac0f5b4feb99c4ad579)
You cannot use CamelCase for the class name, but must use Camel_Case, so the Autoloader we will use works (I am planning to add the same one as the ActivityPub plugin uses).
Why did you copy all functions that are already available in the parent transformer?
Already completed.
https://code.event-federation.eu/Event-Federation/wordpress-activitypub-event-extensions/src/branch/main/includes/activitypub/transformer/class-event.php