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


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>We have small project where we are implementing a context based on CubDB. The fact that the Context behaviour is defined by an Ecto related module makes it harder and let us think before that Pow was heavily dependent on Ecto.</p>
<p>I think that there should be a <code>Pow.Context</code> behaviour instead !</p>
<p>It works though, but we are not using pow forms / html of course.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="171580" 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/using-pow-without-ecto-or-an-rdbms/22496/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-171580" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="171580"
                     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 #11"></div>
  </section>
</div>
    <div class="postbit" id="172576" data-post-id="172576">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="danschultzer" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/danschultzer/120/4942_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  danschultzer
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Pow Core Team</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hey, super sorry for the late reply, been overwhelmed with work lately.</p>
<aside class="quote no-group" data-username="lud" data-post="12" data-topic="22496">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/lud/48/14382_2.png" class="avatar"> lud:</div>
<blockquote>
<p>The fact that the Context behaviour is defined by an Ecto related module makes it harder and let us think before that Pow was heavily dependent on Ecto.</p>
</blockquote>
</aside>
<p>Great point! Definitely makes sense to move the behaviour out of <code>Pow.Ecto.Context</code>.</p>
<p>And for anybody curious, it’s the operations module that glues the plug and context module together: <a href="https://github.com/danschultzer/pow/blob/master/lib/pow/operations.ex" class="inline-onebox" rel="noopener nofollow ugc">pow/lib/pow/operations.ex at main · pow-auth/pow · GitHub</a></p>
<p>Edit: Created <a href="https://github.com/danschultzer/pow/pull/503" class="inline-onebox" rel="noopener nofollow ugc">Move context behaviour out by danschultzer · Pull Request #503 · pow-auth/pow · GitHub</a> thanks for the feedback <img src="https://forum.elixirforum.com/images/emoji/apple/smile.png?v=15" title=":smile:" class="emoji" alt=":smile:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="172576" 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/using-pow-without-ecto-or-an-rdbms/22496/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-172576" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="172576"
                     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>