WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

[FEATURE] Possibility to change collection items ID sourceΒ #17

@jakublange

Description

@jakublange

✨ Feature Description

When you define collection, by default it is setting as collectionID id field from strapi object. It would be good to get ability to replace source of that collectionID to set for example URL field.

🎯 Use Case

When you alter use collection, now you need to get all items and filter them instead of using getEntry with will extract object from collection by collectionID (whic will be set to URL for example in case of fething page from pages collection).

πŸ“ Additional Context

Astro Docs: https://docs.astro.build/en/reference/modules/astro-content/#getentry

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions