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


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="wpiekutowski" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  wpiekutowski
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I just realized that my first example has a flaw in it. An error returned by <code>verify_zendesk_origin(conn)</code> will be mapped to <code>:invalid_origin</code>. Next subsequent calls to <code>map_error</code> will convert it to a <code>%ChangesetError{}</code>, which isn’t what we wanted. You need to go with the snippet <span class="hashtag-raw">#3</span> to avoid this.</p>
<p>Pattern matching on <code>%Ecto.Changeset{}</code> in these anonymous functions passed to <code>map_error</code> would quickly show the culprit and possibly make the pipeline easier to grasp.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="341096" 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/help-with-idiomatic-elixir-style-when-dealing-with-logic-flow/66180/32">Post #31</a>
	                </div>
	            </div>
              <div id="likers-container-341096" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="341096"
                     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>