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

Production builder and development loader for class/path/Name #192

Open
mdittmer opened this issue Dec 16, 2016 · 0 comments
Open

Production builder and development loader for class/path/Name #192

mdittmer opened this issue Dec 16, 2016 · 0 comments

Comments

@mdittmer
Copy link
Collaborator

mdittmer commented Dec 16, 2016

FOAM2 does not yet load models automagically (though FOAM1 did, to degrees). Here are some feature requests for a builder/loader:

  • Custom multiple-fallback classpath
  • Custom extension
  • Module-import configuration map

E.g.,

BuilderOrLoader.create({
  classpath: [ 'p/1', 'p/2' ],
  extensions: [ 'es6.js', 'js', 'legacy.js' ],
  modules: [
    {
      'classpath/relative/path/to/foo-module.es6.js': [
        'pkg1.Foo1', 'pkg1.Foo2', 'foo.pkg.*'
      ]
    }
  ]
})
sarthak-marwaha pushed a commit to sarthak-marwaha/foam2 that referenced this issue Apr 30, 2021
…odeInvoiceTxnRequestFOAM

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

No branches or pull requests

1 participant