This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
You add a @text() field to a new entity without a max value. The deployment succeeds, but queries against the entity fail with an internal server error. What is the most likely cause?
@text()
max
The column becomes NVARCHAR(MAX), which can break GraphQL schema generation.
The entity name matches the name of another registered entity.
The entity needs a join entity before queries can succeed.
A model needs to link products to categories, and each product can belong to several categories. Which design fits Fabric Apps?
Declare a @many() field on each entity that refers to the other.
@many()
Declare a composite primary key on a single combined entity.
Create a join entity with two @one() fields, one for each side.
@one()
You define a new entity class in a Universal App, but the typed client doesn't expose the entity. Which step did you most likely skip?
Adding the class to the schema array and its record type to UniversalAppSchema.
schema
UniversalAppSchema
Creating a SQL view for the entity in the Fabric portal.
Adding a foreign key field to every other entity in the model.
The CLI blocks rayfin up db apply after you remove a field from a populated entity, and the business confirms the stored values are obsolete. What should you do next?
rayfin up db apply
Drop the column in the Fabric portal, and then apply the schema again.
Review each listed operation, confirm the data loss, and then apply with --force.
--force
Run rayfin up repeatedly until the CLI warning disappears from the output.
rayfin up
You want to add a field to an entity with existing records and keep every record valid. Which approach is lowest risk?
Add the field as required with no default.
Rename an existing field so that it matches the new meaning.
Add the field as optional, or give it a default value.
You must answer all questions before checking your work.
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?