Getting a field as null on post request to mongodb database in a spring boot application
Here is my document and Employee is a collection in mongoDB database @Document(collection = "Employee") public class Employee { @Id private String id; private String eId; private String firstName; private String lastName; private String emailId; private int grpId; } This…