Today new apmodel features:
- User can add and override (required inheritance the class) own model to loader (core models is can't override, show warning)
- apmodel supports to preload json-ld schema from local (example, schema.org, activitystreams 2.0)
Today new apmodel features:
type URI now uses a ClassVar called AS_URI. This reduces the effort required to automatically register models with load and eliminates the need to redefine type for each model.If you have a fediverse account, you can quote this note from your own instance. Search https://hackers.pub/ap/notes/019a5a6d-389e-75fb-85d6-ff5661237996 on your instance and quote it. (Note that quoting is not supported in Mastodon.)