Controlling data schema for data oriented architecture
Controlling data schema is provided for data object(s) in a data oriented architecture. Suggestions are provided for received data objects, including determining whether the received data object maps to one of multiple data types, and performing a conditional type inference to provide the one or more suggestions based on a result of the determining of whether the one of the data object maps to one of the multiple data types.
1 . A system for controlling data schema for one or more data objects in a data oriented architecture, the system comprising:
a memory to receive and store one or more data objects; and
a processor to provide one or more suggestions, wherein the processor is to:
determine whether one of the one or more data objects maps to one of multiple data types;
perform a conditional type inference to provide the one or more suggestions based on a result of determining whether the one of the one or more data objects maps to the one of the multiple data types; and
generate a user interface comprising one or more components for one or more entities in an entity component system (ECS), wherein the one or more data objects represent the one or more components to be generated for the user interface.
2 . The system of claim 1 , wherein the processor is to perform the conditional type inference to provide a mapped one of the multiple data types as a data type suggestion.
3 . The system of claim 1 , wherein the processor is to perform the conditional type inference to provide an indication of an error.
4 . The system of claim 1 , wherein to provide the one or more suggestions further comprises to populate one or more members of a mapped one of the multiple data types for one or more property fields of one of the components.
5 . The system of claim 4 , wherein the processor is to further determine the one or more property fields for the user interface corresponding to the one or more members.
6 . The system of claim 1 , wherein the multiple data types comprise one or more customized data types.
7 . The system of claim 1 , wherein the multiple data types comprise one or more existing data types.
8 . The system of claim 1 , wherein the processor is to further determine whether the one or more data objects includes an input key for a mapping to the multiple data types.
9 . The system of claim 1 , wherein the processor is to further display, via an editor interface, the one or more suggestions.
10 . A method for controlling data schema for one or more data objects in a data oriented architecture, the method comprising:
receiving one or more data objects; and
providing one or more suggestions for one of the data objects,
wherein the providing of the one or more suggestions further comprises:
determining whether a received one of the one or more data objects maps to one of multiple data types;
performing a conditional type inference to provide the one or more suggestions based on a result of the determining whether the received one of the one or more data objects maps to the one of the multiple data types; and
generating a user interface comprising one or more components for one or more entities in an entity component system (ECS), wherein the one or more data objects represent the one or more components to be generated for the user interface.
11 . The method of claim 10 , wherein the providing of the one or more suggestions further comprises performing the conditional type inference to provide one of the multiple data types as a data type suggestion.
12 . The method of claim 10 , wherein the providing of the one or more suggestions further comprises performing the conditional type inference to provide an indication of an error.
13 . The method of claim 10 , wherein the providing of the one or more suggestions further comprises populating one or more members of a mapped one of the multiple data types for one or more property fields of one of the components.
14 . The method of claim 13 , further comprising determining the one or more property fields for the user interface corresponding to the one or more members.
15 . The method of claim 10 , wherein the multiple data types comprise one or more customized data types.
16 . The method of claim 10 , wherein the multiple data types comprise one or more existing data types.
17 . The method of claim 10 , wherein the performing of the conditional type inference further comprises determining whether the one or more data objects includes an input key for a mapping to the multiple data types.
18 . A non-transitory computer-readable medium having computer-executable instructions stored thereon that, upon execution, cause one or more processors to perform operations comprising:
receiving one or more data objects; and
providing one or more suggestions for one of the data objects,
wherein the providing of the one or more suggestions further comprises:
determining whether a received one of the one or more data objects maps to one of multiple data types;
performing a conditional type inference to provide the one or more suggestions based on a result of the determining whether the received one of the one or more data objects maps to the one of the multiple data types; and
generating a user interface comprising one or more components for one or more entities in an entity component system (ECS), wherein the one or more data objects represent the one or more components to be generated for the user interface.