Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend algoliaPost with additional ghost post field #43

Open
kassiwin opened this issue Apr 20, 2022 · 2 comments
Open

Extend algoliaPost with additional ghost post field #43

kassiwin opened this issue Apr 20, 2022 · 2 comments

Comments

@kassiwin
Copy link

The package concerned is algolia-fragmenter specifically the transformToAlgoliaObject function.

Currently, the algoliaPost is hardcoded and the function does not offer any way to add additional fields. It will be interesting to add an optional argument to transformToAlgoliaObject which will help to extend the algoliaPost.

@coelhucas
Copy link

coelhucas commented Oct 18, 2024

Up. It would be awesome to both be able to override or extend these fields (we may not want some or just add a few others).

Right now in order to do that one would have to maintain their own fork just to change a line in fragmenter code 😞

I'm willing to open a PR for this if that's ok for folks at Ghost, just let me know and also if there are any constraints regarding adding that functionality.

@aileen
Copy link
Member

aileen commented Oct 25, 2024

Hey hey! PRs are very welcome. Just ensure you don't introduce any breaking changes 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants