title: RavenDB session.Advanced.IsLoaded with transformer
body: <p>I am using the Server and Client Build #30155.</p>
  
  <p>Assuming that docId is a string, I am a bit confused about the following API (<a href="https://ravendb.net/docs/article-page/3.5/csharp/client-api/session/loading-entities#load" rel="nofollow noreferrer">https://ravendb.net/docs/article-page/3.5/csharp/client-api/session/loading-entities#load</a>):</p>
  
  <pre><code>TResult Load&lt;TResult&gt;(
  string id,
  string transformer,
  Action&lt;ILoadConfiguration&gt; configure);
  </code></pre>
  
  <p>When I have loaded (via call to the <code>session.Load&lt;object&gt;(docId)</code>) document in a session, and executed the above call, RavenDB returns null for this in-session-only-loaded document, although the document is in a session - <code>session.IsLoaded(docId)</code> returns true.</p>
  
  <p>Is the call to:
  <code>session.Load&lt;object&gt;(docId, transformer: transformerName, configure: null)</code>
  aimed to "forcibly" go to the server, cause transformer is provided to run server side, or is it a bug?</p>
  
  <p>However, session.Load(docId) first checks if the document with docId is already contained/loaded in a session, and first then if not, goes to the server and loads it into the session.</p>