Skip to content

Describe Feature is skipped#51

Merged
esgn merged 1 commit intomasterfrom
49-describe-skipped
Apr 20, 2026
Merged

Describe Feature is skipped#51
esgn merged 1 commit intomasterfrom
49-describe-skipped

Conversation

@esgn
Copy link
Copy Markdown
Member

@esgn esgn commented Apr 20, 2026

closes #49

This pull request clarifies and strengthens the guidance and error messages related to property name usage in WFS tools. It emphasizes the importance of calling gpf_wfs_describe_type before attempting to access feature properties, and updates error messages and documentation to prevent common mistakes.

Error handling improvements:

  • Updated the error message in getPropertyOrThrow (in compile.ts) to explicitly instruct users to call gpf_wfs_describe_type for available property names, making troubleshooting clearer.

Documentation and usage guidance:

  • In GpfWfsGetFeaturesTool, added a mandatory warning to always call gpf_wfs_describe_type before using the tool (unless already called for the same typename in the current conversation), and clarified that property names are not guessable and must be retrieved explicitly.
  • In GpfWfsDescribeTypeTool, made the documentation more prominent by adding "IMPORTANT:" to the recommendation about calling the tool when property names are unknown.

@esgn esgn merged commit 4c887e4 into master Apr 20, 2026
2 checks passed
@esgn esgn deleted the 49-describe-skipped branch April 20, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Describe type : always skipped

1 participant