Comments (8)
Just a note, I'm also planning on adding the ability to import schemas from dependencies (see #43).
from conform.
I've pushed the release candidate of this RFC to the v1
branch. If you are watching, please take a look and give me feedback!
from conform.
Hi,
I haven't used translations yet but I expect to somewhere in the future. To that end I can't really comment on making breaking changes or not. However I do see the benefits of using the second syntax, so 👍 for me.
One thing that I have doubts on is the syntax of the variables. In your example it is not possible to use $some_variable
. Have you run into more complex configuration schemes where longer variable names make sense? I can imagine there are situations where you would want that but I'd have yet to come up with one.
That's it for now. Thanks for Conform!
from conform.
Hi,
After having just tried to get my head around the existing method of specifying complex structures in the schema then discovering this RFC, I have to say the new version is far simpler to implement and I look forward to it being released fully.
In the meantime I would like to try and make use of it with my existing project but when I try to build it with exrm 0.19.9 I get an undefined function: Conform.Schema.read!/1
error (which is understandable as that doesn't exist any more). I tried using the v1 branch of exrm however and in that case it didn't include anything to do with my configuration in the release. Is there any special configuration that's required to use it?
from conform.
@Greatlemer Sorry about the delay, I would use the v1
branch of exrm with conform 1.0.0-rc*. I'll be promoting v1 of exrm very soon, just trimming down the open issues a bit before I do. v1 of exrm is basically 0.19.x with some changes to be compatible with the deprecation of the direct dependency on conform.
from conform.
@bitwalker, no worries, I had tried that combination before without success. It turns out (as I discovered yesterday) that it was down to some sort of version conflicts as when I'd upgraded to the new github versions the older versions were still lingering in my deps folder. Once I removed them the release contained everything it should.
Good luck with getting to the v1 releases of both. I look forward to seeing them, although the latest versions are good enough to keep me going for now :)
from conform.
@Greatlemer I suspect it was because your mix.lock
had the old revisions :). It's caught me a few times too, but the easy way to fix it is just mix do deps.unlock <app>, deps.update <app>
. Hopefully I'll have 1.0 out in the next week or so!
from conform.
I think it was the deps.update
step that I messed up on. I definitely unlocked them but then I did a deps.get
again. Somehow I ended up with two versions in my deps directory.
Thank you very much for the assistance though.
from conform.
Related Issues (20)
- Elixir 1.5.0 - erlang error: {:badrecord, :elixir_erl} HOT 9
- Conform fails to parse schema for umbrella app during release generation HOT 3
- Schema not found message with multiple level schema extends HOT 2
- Failing to parse binary HOT 3
- Does conform work without release? HOT 3
- UndefinedFunctionError - module Conform.Conf is not available HOT 8
- Failed to parse .conf! from autogenerated .conf file with very simple schema HOT 2
- pre_configure.sh missing - mix release fails with distillery v1.4.1
- Release fails on start because of blank SYS_CONFIG_PATH in 00_conform_pre_configure.sh HOT 1
- Environment variables should override .conf values HOT 2
- Support for tuples HOT 3
- Is it possible to set vm.args variables like the cookie HOT 1
- Empty lists in .conf file
- No support for types such as tuples. HOT 2
- release with distillery in :prod env not working HOT 1
- app not starting when configured using conform HOT 1
- Troubles getting started HOT 6
- `default: []` not working in umbrella release
- An issue with conform.new
- undeprecate conform HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conform.