Skip to content

[Feature] url_alias as a bi-directional relation #455

Description

@laurenskling

Addon

No specific addon – This feature request is related to Webtools Core

Summary

Right now, url_alias is a one-directional relation. Which means I cannot populate on /api/webtools/url-alias. It would be great If I could directly populate some extra data from this endpoint (in my usecase right now: to build a proper sitemap) instead of calling each individual router endpoints to get this data one by one.

Why is it needed?

Get some extra data from the contentType right from the initial findMany

Suggested solution(s)

make url_alias bi-directional. That will probably mean a polymorphic relation? I have no experience with that..

Related issue(s)/PR(s)

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions