Files
Shubham MishraandGitHub bbb2335eac RawModuleDefV10 Scheduled functions should not be callable (#4179)
# Description of Changes
- Codegen to skip creating reducer and procedure file if `visibility ==
FunctionVisiblity::Internal`
- `UpdateHost` to check for visibility before excuting reducers and
procedures.

# API and ABI breaking changes
NA, master is not exposing new raw module version yet.

# Expected complexity level and risk
1. While the current patch is simple, could there be other places where
visibility should also be applied?

# Testing
Smoketest can be in `2.0-breaking-changes` branch once we merge this.
Exising test should cover for regression
2026-02-05 09:09:06 +00:00

17 lines
327 B
C#
Generated

// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
#nullable enable
using System;
namespace SpacetimeDB.Internal
{
[SpacetimeDB.Type]
public enum FunctionVisibility
{
Private,
ClientCallable,
}
}