Web API 2 FromUri optional null default parameters
<p>I have the following controller method:</p>

<pre><code>[HttpGet]
[Route("api/users/{lookup}/{id?}")]
public async Task&lt;IHttpActionResult&gt; GetUsers(string lookup, [FromUri]string[] id = null) { //Can a parameter than comes FromUri ever be null?
    var repo = _uProvider.GetRepository(lookup);
    if (repo == null) {
        return Content(HttpStatusCode.NotFound, String.Concat(lookup, " is not a valid lookup type."));
    }
    if (id == null || id.Length == 0) { //added id.Length check because id was never null
        var all = await repo.GetAll();
        return Ok(all);
    }
    var users = await repo.GetUsersByIds(id);
    if (users == null) {
        return NotFound();
    }
    return Ok(users);
}
</code></pre>

<p>Why is it that when I submit a Get request to api/users/domain, the <code>string[] id</code> is never null?  I had to add the <code>id.Length == 0</code> check to catch the use case where a client would like a full list of users within the domain.</p>