Giter Site home page Giter Site logo

Comments (8)

Haroenv avatar Haroenv commented on June 3, 2024 1

I think it's pretty cool, but I don't currently have the bandwidth to figure out how to make both ways of customizing live together in "peace". I'd be interested if you have a PR to see what you should change

from gatsby-plugin-algolia.

brettinternet avatar brettinternet commented on June 3, 2024 1

@Haroenv How about awaiting the transformer function for asynchronous workloads on the data? We use popularity data gathered from Google Analytics based on slugs provided by our CMS, which requires reducing the data asynchronous.

from gatsby-plugin-algolia.

Haroenv avatar Haroenv commented on June 3, 2024 1

Since 0.4.0 you can do any async work inside the transformer. Thanks @brettinternet !

from gatsby-plugin-algolia.

Haroenv avatar Haroenv commented on June 3, 2024

What's the reasoning you went for moving this into the external file, and not making people require it and pass it as reference? That way you're saving some complexity I think

from gatsby-plugin-algolia.

kdichev avatar kdichev commented on June 3, 2024

This is just what my gut feeling went with, no apparent reason.
I think I was thinking that the way gatsby exposes its api's is quite neat

from gatsby-plugin-algolia.

Haroenv avatar Haroenv commented on June 3, 2024

Which other places accept a string as a file? 🤔

from gatsby-plugin-algolia.

kdichev avatar kdichev commented on June 3, 2024

Actually when I think about it I do not remember where exactly did I get this idea from... 🔥 but I think you get the point of this proposal?

from gatsby-plugin-algolia.

kdichev avatar kdichev commented on June 3, 2024

I am actually requiring the config in the plugin itself but added a way to override the path to it 🤷‍♂️

from gatsby-plugin-algolia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.