<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="371202" data-post-id="371202">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="murrgelb" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/murrgelb/120/35201_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  murrgelb
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>We just released <code>Efx</code> 1.0.0 <img src="https://forum.elixirforum.com/images/emoji/apple/partying_face.png?v=15" title=":partying_face:" class="emoji" alt=":partying_face:" loading="lazy" width="20" height="20"></p>
<p>After some input from the community and minor bug fixes, we thought about our own usage patterns and slightly altered the binding-syntax in a backwards compatible way:</p>
<ul>
<li>Bindings are now done using functions captures, e.g. <code>bind(&amp;MyEffects.write/1, fn _ -&gt; :ok end)</code>. Before, we had to name the module as a first argument and pass the function name as an atom as the second.</li>
<li>Using function captures does not only provide hints for the compiler but also is enables auto completion support for most editors.</li>
<li>Given that syntax we can now cover a very common use case that covers 90% of our tests: Returning a constant from bindings. We can now easily create bindings that return one value constantly: <code>bind(&amp;MyEffects.write/1, const: :ok)</code>.</li>
</ul>
<p>Happy coding!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="371202" data-batch-url="/posts/batch_likers">
                        9
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/efx-a-library-to-declaratively-write-testable-effects/64574/22">Post #21</a>
	                </div>
	            </div>
              <div id="likers-container-371202" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="371202"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #21"></div>
  </section>
</div>
    <div class="postbit" id="373168" data-post-id="373168">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="filonenko_g" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/filonenko_g/120/39036_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  filonenko_g
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hello! It looks like <a href="https://github.com/bravobike/efx/blob/main/lib/efx.ex#L334" rel="noopener nofollow ugc">this</a> and <a href="https://github.com/bravobike/efx/blob/main/lib/efx.ex#L458" rel="noopener nofollow ugc">this</a> lines of code make bind function work only in test env, but in our application we also have ce_test env for testing. Is it possible to make it configurable to use list of test envs?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="373168" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/efx-a-library-to-declaratively-write-testable-effects/64574/23">Post #22</a>
	                </div>
	            </div>
              <div id="likers-container-373168" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="373168"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #22"></div>
  </section>
</div>
    <div class="postbit" id="373373" data-post-id="373373">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="murrgelb" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/murrgelb/120/35201_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  murrgelb
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hi, I just released <code>1.0.1</code> that offers the possibility, to add additional test-environments via config. You can find the doc <a href="https://hexdocs.pm/efx/Efx.html#module-custom-test-environments" rel="noopener nofollow ugc">here</a>.</p>
<p>We also discussed getting rid of the Mix-dependency entirely and enforce the user to enable <code>Efx</code> in environment specific configs, e.g.</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">config :efx, :binding_enabled, true
</code></pre>
<p>However, that change would be breaking and thus, will be part of a future major version.</p>
<p>Please let me know if the feature works for you and solves the problem you are facing!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="373373" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/efx-a-library-to-declaratively-write-testable-effects/64574/24">Post #23</a>
	                </div>
	            </div>
              <div id="likers-container-373373" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="373373"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #23"></div>
  </section>
</div>
    <div class="postbit" id="373378" data-post-id="373378">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="filonenko_g" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/filonenko_g/120/39036_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  filonenko_g
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hi, now it works great, thank you very much!<br>
As for:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">config :efx, :binding_enabled, true
</code></pre>
<p>this should also work for us.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="373378" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/efx-a-library-to-declaratively-write-testable-effects/64574/25">Post #24</a>
	                </div>
	            </div>
              <div id="likers-container-373378" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="373378"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>