Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ascott18 committed Oct 17, 2023
1 parent b57995f commit a0bc058
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/.vuepress/components/Prop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default defineComponent({
// Typescript is pretty nice in that the member name is always first in its declaration.
// No types on the left hand side.
// "namespace" is included as part of the attr if present.
const result = /(?:(?:readonly|public|static|protected|private|abstract|export) )*((?:namespace )?[\w$]+)/.exec(this.def);
const result = /(?:(?:readonly|public|static|protected|private|abstract|export) )*((?:namespace )?[\w$-]+)/.exec(this.def);
this.idAttr = result ? this.idPrefix + '-' + result[1] : null
} else if (this.lang == "c#") {
// For C#, there's always a type on the left hand side.
Expand Down
3 changes: 2 additions & 1 deletion docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,12 @@ export default defineUserConfig({
],
},
{
text: 'Configuration',
text: 'Topics',
// collapsible: false,
children: [
'/topics/startup',
'/topics/coalesce-json',
'/topics/audit-logging',
],
},
{
Expand Down
7 changes: 7 additions & 0 deletions docs/stacks/vue/coalesce-vue-vuetify/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,5 +212,12 @@ If for whatever reason you find yourself adding Coalesce to an existing project,
<td>

@[import-md "after":"MARKER:summary", "before":"MARKER:summary-end"](./components/c-admin-table-page.md)
</td></tr><tr><td>

[c-admin-audit-log-page](./components/c-admin-audit-log-page.md)
</td>
<td>

@[import-md "after":"MARKER:summary", "before":"MARKER:summary-end"](./components/c-admin-audit-log-page.md)
</td></tr>
</table>
2 changes: 1 addition & 1 deletion docs/stacks/vue/layers/viewmodels.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ By default, only dirty properties (and always the primary key) are sent to the s

This improves the handling of concurrent changes being made by multiple users against different fields of the same entity at the same time - specifically, it prevents a user with a stale value of some field X from overwriting a more recent value of X in the database when the user is only making changes to some other property Y and has no intention of changing X.

Save mode `"surgical"` doesn't help when multiple users are editing field X at the same time - if such a scenario is applicable to your application, you must implement [more advanced handling of concurrency conflicts](https://docs.microsoft.com/en-us/ef/core/saving/concurrency).
Save mode `"surgical"` doesn't help when multiple users are editing field X at the same time - if such a scenario is applicable to your application, you must implement [more advanced handling of concurrency conflicts](https://learn.microsoft.com/en-us/ef/core/saving/concurrency).

::: warning
@[import-md "after":"MARKER:surgical-saves-warning", "before":"MARKER:end-surgical-saves-warning"](../../../modeling/model-types/dtos.md)
Expand Down

0 comments on commit a0bc058

Please sign in to comment.