We are currently checking up on GeoServer over MongoDB on our dev-environment. We are having some difficulties: we have a collection, containing different documents which answer to the same structure ("schema-like"). When querying a WFS service from GeoServer - some of the columns are missing. We discovered that if one of the "columns" on one of the documents contains null value - the whole column does not appear on the query response.
Is there some configuration we are missing on the GeoServer to return null values on WFS response?
Even if one instance of an attribute value equals null, the whole column is missing. I don't see how DescribeFeatureType may help as many Q&aA already suggested over the web.