Code Monkey home page Code Monkey logo

Comments (2)

JanCizmar avatar JanCizmar commented on June 13, 2024 1

I couldn't understand what the tolgee.import props are for

  • Using dir prop you can specify a dir, where exported .jsons are stored. It then automatically imports this dir's subdirs as project with name of particular subdir. We are using this for e2e testing of js integrations, so we don't need to manually import the data before the actual testing. It's also useful for development. Sometimes, I just need to delete my local DB and start fresh. This provides the data on startup.
  • When the create-implicit-api-key prop is set to true it also creates a API key for the imported project like ${projectName}-${userAccount.name}-imported-project-implicit, which again, we need for e2e tests of js integrations

it may be a good idea to also write all the properties in dashed-case, for consistency

You're right. Feel free to fix it. 🚀

Thanks a lot ❤️

from documentation.

cyyynthia avatar cyyynthia commented on June 13, 2024

I've looked a bit into the source code to gather all the current config props and start working on a PR to add the currently missing flags. While I have a relatively good understanding of what most props do from a bit of guess work and poking at the source code, I couldn't understand what the tolgee.import props are for 🤔

In addition to adding missing props, considering Spring's relaxed binding, it may be a good idea to also write all the properties in dashed-case, for consistency (e.g. tolgee.file-storage.fs-data-path instead of tolgee.file-storage.fsDataPath)

from documentation.

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.